This problem is in Contest(s) below:
Contest 1335:分支结构练习题
Contest 1354:穷举
Contest 1280:2018小六练习
Contest 1482:寒假入门2班
Contest 1159:初一小朋友C++入门
Contest 1172:2018小六C++入门
Contest 1387:求和