Rosetta Problems

Koto Distance

https://onlinejudge.u-aizu.ac.jp/problems/2600