This problem is in Contest(s) below:
Contest 4757:湖州第六天(3)数组累加器
Contest 4756:湖州第六天(2)数组进阶