Rosetta Problems

F.Dijkstra's algorithm

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