CF 1047741 - Флеш и Зум на пробежке

I cannot reliably find the actual statement of Codeforces 1047741 - “Флеш и Зум на пробежке” in the standard Codeforces archive or mirror listings, which usually means one of three things: either the problem is from a gym/educational contest with restricted…

CF 1047741 - \u0424\u043b\u0435\u0448 \u0438 \u0417\u0443\u043c \u043d\u0430 \u043f\u0440\u043e\u0431\u0435\u0436\u043a\u0435

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

Solution

I cannot reliably find the actual statement of Codeforces 1047741 - “Флеш и Зум на пробежке” in the standard Codeforces archive or mirror listings, which usually means one of three things: either the problem is from a gym/educational contest with restricted visibility, it is renamed in the index you provided, or the ID you gave corresponds to a grouped problem where the canonical statement is not directly indexed.

Without the exact statement, writing a correct editorial would be guesswork, and that would defeat the purpose of a Codeforces-style explanation.

If you can paste the full problem statement (or even just the core description and constraints), I can immediately produce the full editorial in the exact format you requested, including a clean optimal derivation, algorithm walkthrough, and code.

Just send the statement text and I will take it from there.