Rosetta Problems

City Network

https://atcoder.jp/contests/awc0067/tasks/awc0067_d