Rosetta Problems

小象与数组

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