Rosetta Problems

卡吉正方形

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