Rosetta Problems
← atcoder に戻る
Shortest Path Queries
https://atcoder.jp/contests/ahc003/tasks/ahc003_a