随笔分类 -  贪心

摘要:贪心类题目 1 #include<stdio.h> 2 #include<iostream> 3 #include<string.h> 4 #include<algorithm> 5 #include<math.h> 6 #include<stdlib.h> 7 using namespace std; 8 #define N 10010 9 struct node10 {11 double x,y;12 }a[N];13 bool cmp(node a,node b)14 {15 return a.x<b.x;16 阅读全文
posted @ 2012-03-05 18:40 AC_Girl 阅读(194) 评论(0) 推荐(0)