This problem is in Contest(s) below:
Contest 5630:AK张老师 入门B班 双重循环图阵进阶