CF 1035337 - Оптические каналы связи

I can write the full Codeforces-style editorial, but I’m missing the actual problem statement for “1035337 - Оптические каналы связи”.

CF 1035337 - \u041e\u043f\u0442\u0438\u0447\u0435\u0441\u043a\u0438\u0435 \u043a\u0430\u043d\u0430\u043b\u044b \u0441\u0432\u044f\u0437\u0438

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

Solution

I can write the full Codeforces-style editorial, but I’m missing the actual problem statement for “1035337 - Оптические каналы связи”. Right now the prompt only contains the title and empty Input/Output sections, which isn’t enough to reconstruct the task reliably.

If I guess, there’s a high risk of producing a completely wrong solution and walkthrough.

Please paste one of the following:

  • the full problem statement, or
  • a link to the Codeforces problem page, or
  • at least the input/output format plus constraints and a sample

Once I have that, I’ll produce the complete editorial in the exact style you specified (full prose, no bullets, full derivation, code, traces, edge cases, everything).