Rosetta Problems

与哥伦迪的游戏

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