Rosetta Problems

オリエンテーリング (Orienteering)

https://atcoder.jp/contests/joisc2011/tasks/joisc2011_orienteering