CF 1033851 - Отпуск

The problem statement for “Codeforces 1033851 - Отпуск” is missing from your message, so I don’t have enough information to write a correct editorial.

CF 1033851 - \u041e\u0442\u043f\u0443\u0441\u043a

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

Solution

The problem statement for “Codeforces 1033851 - Отпуск” is missing from your message, so I don’t have enough information to write a correct editorial.

Right now, I would have to guess the task, constraints, and even the required algorithm, which would violate the requirement that the solution be fully accurate and re-derivable.

Please paste the full problem statement (or at least the input/output description and constraints), and I’ll produce the complete editorial in the exact format you specified.