Rosetta Problems

Shortest Path1

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