This problem is in Contest(s) below:
Contest 1042:循环结构过关习题集(一)