Rosetta Problems

Distribution of Fertilizer

https://atcoder.jp/contests/awc0107/tasks/awc0107_d