Rosetta Problems
← atcoder に戻る
Candidates of No Shortest Paths
https://atcoder.jp/contests/abc051/tasks/abc051_d