This problem is in Contest(s) below:
Contest 1136:2022年暑期普及班-贪心