Rosetta Problems

神龙的难题

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