Rosetta Problems

数学游戏秀

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