Rosetta Problems

Routing a Marathon Race

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