This problem is in Contest(s) below:
Contest 1049:CIE-C2-2020-9
Contest 1060:CIE-C2-测试练习
Contest 1009:1.6编程基础之一维数组(15题)
Contest 1013:C++ 高级水平测试