eolymp
bolt
Попробуйте наш новый интерфейс для отправки задач
Задачи

Три последовательности

опубликовано 26.04.2013, 22:41:38

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

опубликовано 05.02.2023, 22:05:22

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.