Rosetta Problems

最小最长旅程

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