Rosetta Problems

ぴょんぴょん川渡り

https://atcoder.jp/contests/joi2008ho/tasks/joi2008ho_d