摘要:
/* 区间贪心算法: 区间不相交问题,给出n个开区间(x,y),从中选择尽可能多的开区间,使得这些区间亮亮没有交集 */ #include #include #include #include using namespace std; const int maxn = 110; struct Inteval{ int x , y; }I[maxn]; int cmp(... 阅读全文
posted @ 2018-03-07 18:51
最美遇见你
阅读(235)
评论(0)
推荐(0)

浙公网安备 33010602011771号