This problem is in Contest(s) below:
Contest 1260:【YH23】08while循环
Contest 1399:【YH28】09 while循环