This problem is in Contest(s) below:
Contest 1163:2022暑期246下c++第四期
Contest 1140:2022春季周日早第四期
Contest 1378:2024秋周日晚c2
Contest 1136:2022春季周六晚第四期
Contest 1375:2024秋季c++周日早c2(塘下)