Rosetta Problems

平整数组

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