This problem is in Contest(s) below:
Contest 1084:2021CSP第二轮专题3-贪心