Rosetta Problems

Ball Redistribution

https://atcoder.jp/contests/agc068/tasks/agc068_c