Rosetta Problems
← atcoder に戻る
Shortest Evacuation Route
https://atcoder.jp/contests/awc0051/tasks/awc0051_d