上一页 1 2 3 4 5 6 7 8 9 10 ··· 26 下一页

2012年7月21日

【解题报告】【HDOJ2037】【贪心算法】今年暑假不AC

摘要: 题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=2037 1 #include<stdio.h> 2 struct node{ 3 int x,y; 4 }; 5 int main() 6 { 7 struct node a[101]; 8 int i,j,n,sum,q,y,w,t; 9 //freopen("1.txt","r",stdin);10 while(scanf("%d",&n)!=EOF&&n)11 {12 for(i=0;i<n; 阅读全文

posted @ 2012-07-21 18:55 coding封神 阅读(124) 评论(0) 推荐(0) 编辑

上一页 1 2 3 4 5 6 7 8 9 10 ··· 26 下一页

导航