This problem is in Contest(s) below:
Contest 1004:竞赛中等题型练习
Contest 1130:2022小学省赛练习题