Rosetta Problems

Road Construction and Shortest Path

https://atcoder.jp/contests/awc0174/tasks/awc0174_d