This problem is in Contest(s) below:
Contest 1022:2019CSP普及模拟赛C
Contest 1131:2022小学省赛练习题简单题
Contest 1130:2022小学省赛练习题