This problem is in Contest(s) below:
Contest 1164:2022暑期246晚c++第二期
Contest 1176:2022秋周日早c++第二期
Contest 1159:2022暑期246早c++第二期
Contest 1160:2022暑期246早c++第二期(平阳)
Contest 1132:2022年春季周六早第二期
Contest 1167:2022上午python