Rosetta Problems

最短距離

https://hoj.hamako-ths.ed.jp/onlinejudge/problems/667