This problem is in Contest(s) below:
Contest 1184:2022秋周六早c++8期
Contest 1191:2022秋周日下c++8期
Contest 1147:2022年春季(刷题)
Contest 1193:2022秋国庆集训
Contest 1172:2022秋周五晚c++第四期