eolymp
bolt
Try our new interface for solving problems
Problems

Three sequences

published at 4/26/13, 10:41:38 pm

В чем же может быть проблема, если проходит все кроме первого теста?

published at 2/5/23, 10:05:22 pm

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.