This problem is in Contest(s) below:
Contest 1097:2022小学市夏令营练习-一维数组
Contest 1116:入门班---一维数组
Contest 1160:2024秋季入门班