Rosetta Problems

合适的环

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