Rosetta Problems

蜘蛛の巣上の最短経路探索

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