This problem is in Contest(s) below:
Contest 1000:贪心算法
Contest 1324:2024春周日早C++c6(塘下)
Contest 1193:2022秋国庆集训
Contest 1365:2024秋周五晚c4
Contest 1134:2022春季周六下\日早第七期
Contest 1138:2022春季周六晚第*期
Contest 1286:2024春季c++c6