This problem is in Contest(s) below:
Contest 1292:2023秋季周日早C++ P5(塘下)
Contest 1156:2022暑期135晚c++第五六期
Contest 1162:2022暑期246下c++第五六期
Contest 1390:2024平阳(函数)
Contest 1227:春周六晚C++第五期
Contest 1188:2022秋周六晚c++5期
Contest 1183:2022秋周日下c++5期