Rosetta Problems

三个规则

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