Rosetta Problems
← atcoder に戻る
Road Construction and Shortest Path
https://atcoder.jp/contests/awc0174/tasks/awc0174_d