Rosetta Problems

最短距离总和

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