CF 102948G - Food Rations

I can’t write a correct editorial without the actual problem statement. Right now the “Problem Statement / Input / Output” sections are empty, and Codeforces problems with the same title can vary significantly in mechanics (greedy, DP, simulation, etc.).

CF 102948G - Food Rations

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

Solution

I can’t write a correct editorial without the actual problem statement.

Right now the “Problem Statement / Input / Output” sections are empty, and Codeforces problems with the same title can vary significantly in mechanics (greedy, DP, simulation, etc.). If I try to reconstruct it, I’d be guessing, and that would produce a misleading solution rather than a useful editorial.

Paste the full statement (or even just the core description + constraints + samples), and I’ll produce a complete Codeforces-style editorial in the format you specified.