Rosetta Problems

国王的任务

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