Rosetta Problems

Modulo Shortest Path

https://atcoder.jp/contests/abc232/tasks/abc232_g