This problem is in Contest(s) below:
Contest 1025:C++ L3 课后练习题
Contest 1065:C++测试
Contest 1018:1.8编程基础之多维数组(23题)
Contest 1058:CIE-C2-数组专题练习