This problem is in Contest(s) below:
Contest 1418:软件工程183 程序设计基础2(第9周---数组)