This problem is in Contest(s) below:
Contest 1088:第6章-环境科学B191、B192
Contest 1288:2022-2023-2-大数据-课堂2
Contest 1306:数组