Rosetta Problems

平衡数组

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