CF 1040363 - Антон и арбузы
I can’t reliably write a correct editorial for this without the actual problem statement. “Codeforces 1040363 - Антон и арбузы” isn’t enough to reconstruct the task, and guessing would very likely produce a completely wrong solution and reasoning.
CF 1040363 - \u0410\u043d\u0442\u043e\u043d \u0438 \u0430\u0440\u0431\u0443\u0437\u044b
Rating: -
Tags: -
Solve time: 32s
Verified: no
Solution
I can’t reliably write a correct editorial for this without the actual problem statement.
“Codeforces 1040363 - Антон и арбузы” isn’t enough to reconstruct the task, and guessing would very likely produce a completely wrong solution and reasoning.
Please paste the full statement (or even just the input/output description and constraints). Once I have that, I’ll produce the full senior-level editorial in the exact format you specified.