Rosetta Problems

国王的巡回

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