Rosetta Problems

正方形数组的数目

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