Rosetta Problems
← atcoder に戻る
City Network
https://atcoder.jp/contests/awc0067/tasks/awc0067_d