This problem is in Contest(s) below:
Contest 5294:AK张老师 入门D班 双重循环 课堂练习