This problem is in Contest(s) below:
Contest 5281:AK张老师 入门B班 while 家庭作业
Contest 5306:AK张老师 入门A班 while 课堂练习