This problem is in Contest(s) below:
Contest 6668:二维矩阵综合复习