CF 103522B - Рапорт

I’m missing the actual problem statement for Codeforces 103522B - “Рапорт”, so I can’t reliably reconstruct the intended solution or write a correct editorial.

CF 103522B - \u0420\u0430\u043f\u043e\u0440\u0442

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

Solution

I’m missing the actual problem statement for Codeforces 103522B - “Рапорт”, so I can’t reliably reconstruct the intended solution or write a correct editorial.

There are multiple problems with similar names, and guessing would risk producing a completely wrong algorithm and explanation.

Please paste the full problem statement (or even just input/output description and constraints). Once you do, I’ll write the complete Codeforces-style editorial in the format you specified, including the algorithm walkthrough, proof sketch, Python solution, and tests.