Rosetta Problems

Jumps

https://atcoder.jp/contests/joiopen2012c/tasks/apio_jumps