This problem is in Contest(s) below:
Contest 1287:2023秋周六下c++c1
Contest 1325:2024春周日早C++c1(塘下)
Contest 1299:2023实小拓展编程
Contest 1319:2024平阳春季第一期
Contest 1235:2023暑期C++新生
Contest 1246:2023暑期C++246下新生(平阳)