This problem is in Contest(s) below:
Contest 1057:初一小盆友训练题
Contest 1054:初二小盆友
Contest 1354:穷举
Contest 1370:阶段练习
Contest 1387:求和
Contest 1280:2018小六练习
Contest 1438:2019小六循环练习2
Contest 1482:寒假入门2班
Contest 1159:初一小朋友C++入门
Contest 1172:2018小六C++入门
Contest 1365:训练111