This problem is in Contest(s) below:
Contest 1147:2022年春季(刷题)
Contest 1202:c++新生(刷题)