摘要: 六、贪心 没有思路的话,先排序。选择当前最好的情况来进行下去。 1.区间分组 #include <iostream> #include <cstring> #include <queue> #include <algorithm>//使每组内部区间不相交,按左端点从小到大排序 using names 阅读全文
posted @ 2023-03-18 14:42 cathyd 阅读(25) 评论(0) 推荐(0)