This problem is in Contest(s) below:
Contest 1129:2022小学夏令营市赛复习
Contest 1096:基础班强化-循环