Problems
Three sequences
В чем же может быть проблема, если проходит все кроме первого теста?
The problem is interesting, but tests are awful. I tried to solve it a long time ago and first test didn't pass, I easily hacked it and solved the problem... My solution was to find number of same elements present in all three sequences. First test case is first example test case, obviously my solution output 3, and 2 is correct.