This problem is in Contest(s) below:
Contest 1157:2022暑期135晚c++第四期
Contest 1163:2022暑期246下c++第四期
Contest 1240:2023暑期c++c4
Contest 1362:平阳暑期C++4
Contest 1411:平阳春季(字符)
Contest 1236:2023暑期135下午c++4期(塘下)
Contest 1236:2023暑期135下午c++4期(塘下)