Rosetta Problems

Packing Balls into Boxes

https://atcoder.jp/contests/awc0165/tasks/awc0165_d