Rosetta Problems

Sightseeing Tour

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