Rosetta Problems

Distribution of Sweets

https://atcoder.jp/contests/awc0040/tasks/awc0040_b