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…
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.