Rosetta Problems

Shortest Path 3

https://atcoder.jp/contests/abc362/tasks/abc362_d