This problem is in Contest(s) below:
Contest 1136:2022年暑期普及班-贪心
Contest 1078:普及组水题专练
Contest 1142:基础班-贪心
Contest 1033:2020秋季基础班打卡题