Rosetta Problems

哞分解

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