摘要: http://acm.zju.edu.cn/onlinejudge/showProblem.do?problemId=3322最小区间覆盖,排序加上贪心。#include <iostream> #include <algorithm> #include <cstdio>using namespace std;struct SetNode{ int a; int b;}mySet[5010];int n;int minPoint;int maxPoint;bool cmp(SetNode a, SetNode b){ if(a.a != b.a) return 阅读全文
posted @ 2009-09-06 00:14 zhwj184 阅读(123) 评论(0) 推荐(0) 编辑