Rosetta Problems

Planning Locations of Bus Stops

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