Rosetta Problems

Waterflow on Stairs

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