2013年11月19日

HDOJ1391

摘要: 题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=1391其实就是找规律的题目,但是我一眼没看到规律!于是按照自己的方法写!代码: 1 #include 2 #include 3 #include 4 using namespace std; 5 6 struct node{ 7 int x1,y1; 8 int num; 9 }a[20000];10 int cmp(node x,node y)11 {12 if (x.x1==y.x1) return x.y1<y.y1;13 return x.x1<y.x1;1... 阅读全文

posted @ 2013-11-19 08:11 forgot93 阅读(97) 评论(0) 推荐(0) 编辑

导航