Rosetta Problems

最短絡問題

https://atcoder.jp/contests/gwcontest2015/tasks/gw2015_d