Rosetta Problems

Children and Candies

https://atcoder.jp/contests/arc059/tasks/arc059_c