Rosetta Problems

有效图

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