This problem is in Contest(s) below:
Contest 1116:入门班---一维数组
Contest 1033:2020秋季基础班打卡题
Contest 1162:2025春季入门班课程
Contest 1160:2024秋季入门班