This problem is in Contest(s) below:
Contest 6668:二维矩阵综合复习
Contest 6754:Ak 王老师 测试复习