This problem is in Contest(s) below:
Contest 1428:程序设计基础B-上机4-大数据B251B252
Contest 1307:循环结构