会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
GabyGoole
人类充满了热情, 医药,法律,商业,工程,这些都是高贵的理想,并且是维生的必需条件,但是诗、美、浪漫、爱,这些才是我们生存的原因
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
5
6
7
8
9
10
11
12
13
···
15
下一页
2015年6月20日
poj3085
摘要: #include #include int main(){ int n,count=0; scanf("%d",&n); while(n--) { int tmp; scanf("%d",&tmp); printf("%d ",++c...
阅读全文
posted @ 2015-06-20 11:04 Gabyler
阅读(254)
评论(0)
推荐(0)
2015年6月19日
poj3077---进位
摘要: #include #include #includechar str[100000000];int ar[100000000];int main(){ int n,len,i; scanf("%d",&n); while(n--) { scanf("%s",st...
阅读全文
posted @ 2015-06-19 18:16 Gabyler
阅读(144)
评论(0)
推荐(0)
poj3062---输入什么输出什么
摘要: #include #include int main(){ char str[100]; while(gets(str) != NULL) { printf("%s\n",str); } return 0;}View Code
阅读全文
posted @ 2015-06-19 16:02 Gabyler
阅读(92)
评论(0)
推荐(0)
poj3030
摘要: #include #include int main(){ int n,r,e,a; scanf("%d",&n); while(n--) { scanf("%d %d %d",&r,&e,&a); if((e-r) > a) ...
阅读全文
posted @ 2015-06-19 14:08 Gabyler
阅读(125)
评论(0)
推荐(0)
poj3006---素数筛法
摘要: #include #include int tab[1000001];//以后都用宏定义 MAXint main()//如要将包括1000000在内的打表,数组就开大一个{ int a,d,n,i,j; tab[0]=0;tab[1]=0; for(i=2;i<1000001;i+...
阅读全文
posted @ 2015-06-19 13:20 Gabyler
阅读(181)
评论(2)
推荐(0)
poj2924---高斯求和
摘要: #include #include int main(){ int n,tim=0; long long ans,a,b; scanf("%d",&n); while(n--) { scanf("%lld %lld",&a,&b); ans ...
阅读全文
posted @ 2015-06-19 11:58 Gabyler
阅读(137)
评论(0)
推荐(0)
2015年6月18日
poj2909 || poj2262
摘要: #include #include #includeint isPri(int a, int b){ int i; for(i=2; i <= sqrt(a); i++) { if(a%i == 0) return 0; } for(...
阅读全文
posted @ 2015-06-18 16:51 Gabyler
阅读(158)
评论(1)
推荐(0)
poj2871
摘要: #include #include //法一int main(){ double temar[10000]; int i=0,tmp; while(1) { scanf("%lf",&temar[i]); if(temar[i] == 999) ...
阅读全文
posted @ 2015-06-18 11:48 Gabyler
阅读(123)
评论(0)
推荐(0)
poj2840
摘要: #include #include #includeint main(){ int n,len; char str[10]; scanf("%d",&n); while(n--) { int tmp; scanf("%s",str); ...
阅读全文
posted @ 2015-06-18 11:02 Gabyler
阅读(103)
评论(0)
推荐(0)
poj2656---求一列数中最大数的序数而且在前面输入的更优先
摘要: #include#includeint main(){ int n,i; while(scanf("%d",&n) != EOF && n) { int max=0,maxdown,day,nigt; for(i=0; i max) ...
阅读全文
posted @ 2015-06-18 10:00 Gabyler
阅读(164)
评论(0)
推荐(0)
上一页
1
···
5
6
7
8
9
10
11
12
13
···
15
下一页
公告