CF 103708A - Anya's gifts

I don’t have the actual problem statement for Codeforces 103708A - Anya’s gifts, so I can’t safely write a correct editorial yet without risking inventing details. Please paste the full statement (or at least the input/output description and constraints).

CF 103708A - Anya's gifts

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

Solution

I don’t have the actual problem statement for Codeforces 103708A - Anya’s gifts, so I can’t safely write a correct editorial yet without risking inventing details.

Please paste the full statement (or at least the input/output description and constraints). Once you do, I’ll produce the complete editorial in the exact format you requested, including algorithm walkthrough, proof sketch, complexity, and test cases.