Rosetta Problems

Robust Memory of Commuting Routes

https://atcoder.jp/contests/ahc009/tasks/ahc009_a