Rosetta Problems

Towns along a Highway

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