Rosetta Problems

The Farthest City

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