CF 1036326 - Экспедиция на Сириус

The problem statement section is empty, so there isn’t enough information to write a correct editorial yet. For a Codeforces editorial, I need at least: the full statement (or a link / text), plus input/output format and constraints.

CF 1036326 - \u042d\u043a\u0441\u043f\u0435\u0434\u0438\u0446\u0438\u044f \u043d\u0430 \u0421\u0438\u0440\u0438\u0443\u0441

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

Solution

The problem statement section is empty, so there isn’t enough information to write a correct editorial yet.

For a Codeforces editorial, I need at least:

the full statement (or a link / text), plus input/output format and constraints. Without that, any “solution” would be invented and unreliable.

Paste the full problem text (or even screenshots transcribed), and I’ll write the complete editorial in the exact style you requested, including algorithm derivation, proofs, and implementation details.