This problem is in Contest(s) below:
Contest 2028:区一中小学组期末考试
Contest 1997:贪心练习