This problem is in Contest(s) below:
Contest 4756:湖州第六天(2)数组进阶
Contest 4725:入门-第15课-课堂练习