This problem is in Contest(s) below:
Contest 1158:2022暑期135晚c++新生
Contest 1325:2024春周日早C++c1(塘下)
Contest 1235:2023暑期C++新生
Contest 1246:2023暑期C++246下新生(平阳)