This problem is in Contest(s) below:
Contest 1031:贪心算法专题
Contest 1051:2021小学市赛贪心专题
Contest 1166:分班测试
Contest 1142:基础班-贪心