This problem is in Contest(s) below:
Contest 1809:2023小学组
Contest 1821:七年级复习题目
Contest 1997:贪心练习
Contest 2000:零基础第八节