CF 104150B - Исследование улик

I’m missing the actual problem statement for Codeforces 104150B (“Исследование улик”). Without knowing what the input represents or what is being computed, I can’t reliably reconstruct the intended solution, and anything I write would risk being incorrect…

CF 104150B - \u0418\u0441\u0441\u043b\u0435\u0434\u043e\u0432\u0430\u043d\u0438\u0435 \u0443\u043b\u0438\u043a

Rating: -
Tags: -
Solve time: 32s
Verified: no

Solution

I’m missing the actual problem statement for Codeforces 104150B (“Исследование улик”). Without knowing what the input represents or what is being computed, I can’t reliably reconstruct the intended solution, and anything I write would risk being incorrect or just fabricated.

Please paste the full statement (or at least the input format, output format, and constraints). Once I have that, I’ll produce the complete editorial in the style you specified, including the algorithm walkthrough, proof idea, implementation details, and tests.