This problem is in Contest(s) below:
Contest 5369:AK郦老师 零基础B班 数组位置极值位置 家庭作业
Contest 5382:AK 张老师 零基础A班 家庭作业