上一页 1 ··· 67 68 69 70 71 72 73 74 75 ··· 99 下一页

2011年5月3日

Can you solve this equation?

摘要: #include<stdio.h>#include<math.h>double fun(double x){ return 8*x*x*x*x + 7*x*x*x + 2*x*x + 3*x + 6 ;}int main( ){ int N,flag; double Y,a,b,mid; scanf("%d",&N); while(N--) { flag=0; scanf("%lf",&Y); a... 阅读全文

posted @ 2011-05-03 00:36 more think, more gains 阅读(230) 评论(0) 推荐(0) 编辑

2011年5月2日

二分查找题

摘要: hdu 2141 hdu 1025 hdu 2899 hdu 2034 hdu 1551 hdu 2199 阅读全文

posted @ 2011-05-02 23:48 more think, more gains 阅读(145) 评论(0) 推荐(0) 编辑

ACM学习计划 来自c++奋斗乐园

摘要: OJ上的一些水题(可用来练手和增加自信) (poj3299,poj2159,poj2739,poj1083,poj2262,poj1503,poj3006,poj2255,poj3094) 初期: 一.基本算法: (1)枚举. (poj1 OJ上的一些水题(可用来练手和增加自信) (poj3299,poj2159,poj2739,poj1083,poj2262,poj1503,poj3006,po... 阅读全文

posted @ 2011-05-02 21:46 more think, more gains 阅读(442) 评论(0) 推荐(0) 编辑

前m大的数

摘要: #include<stdio.h>#include<stdlib.h>#include<string.h>int dp[11000],A[5100];int main( ){ int N,M,i,j,k,max; while(scanf("%d%d",&N,&M)!=EOF) { k=0;max=0; memset(dp,0,sizeof(dp)); for(i=1;i<=N;i++) scanf... 阅读全文

posted @ 2011-05-02 15:44 more think, more gains 阅读(262) 评论(0) 推荐(0) 编辑

敌兵布阵

摘要: #include<stdio.h>#include<stdlib.h>#include<string.h>int N,c[51100];int lowbit(int x){ return x&-x;}void add(int x,int i){ while(i<=N) { c[i]+=x; i+=lowbit(i);}}int sum(int i){ int sum=0; while(i) { s... 阅读全文

posted @ 2011-05-02 15:03 more think, more gains 阅读(230) 评论(0) 推荐(0) 编辑

上一页 1 ··· 67 68 69 70 71 72 73 74 75 ··· 99 下一页

导航