Rosetta Problems

Shortest Path

https://judge.yosupo.jp/problem/shortest_path