Rosetta Problems

Distribution of Water

https://atcoder.jp/contests/awc0166/tasks/awc0166_c