Rosetta Problems

最短距离

https://www.acwing.com/problem/content/5371