This problem is in Contest(s) below:
Contest 5151:AK郦老师 初级B班 二维数组进阶 家庭作业