会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
GabyGoole
人类充满了热情, 医药,法律,商业,工程,这些都是高贵的理想,并且是维生的必需条件,但是诗、美、浪漫、爱,这些才是我们生存的原因
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
8
9
10
11
12
13
14
15
下一页
2015年6月10日
poj2140---herd sums
摘要: #include#includeint main(){ int n,cnt=0,i,j; scanf("%d",&n); for(i=1;i n) break; } } printf("%d\n",cnt+1); ret...
阅读全文
posted @ 2015-06-10 15:39 Gabyler
阅读(176)
评论(0)
推荐(0)
2015年5月31日
poj2136---输出特殊图形
摘要: #include #include #includeint f[26];int find(int pos,int top){ while(f[pos] b) return a; else return b;}int main(){ int top=0,i...
阅读全文
posted @ 2015-05-31 19:23 Gabyler
阅读(252)
评论(0)
推荐(0)
2015年5月29日
poj2105---用指针对数组分块操作
摘要: #include #include int count=1;int pow1(int a,int b){ int pro=1,i; if(b==0) return 1; for(i=0;i<b;i++) { pro*=a; } retu...
阅读全文
posted @ 2015-05-29 12:58 Gabyler
阅读(221)
评论(0)
推荐(0)
poj2070简单题
摘要: #include #include int main(){ float sped; int wei,sth; while(scanf("%f %d %d",&sped,&wei,&sth) != EOF) { int flag=0; if(sped...
阅读全文
posted @ 2015-05-29 11:15 Gabyler
阅读(196)
评论(0)
推荐(0)
2015年5月28日
poj2039---写出c++reverse函数,且且依次输出每一行的第一个、第二个.....
摘要: #include #include #include void reverse(char *p1,char *p2,int col){ int i; p2--; for(i=0;i<col/2;i++) { char t; t = *p1; ...
阅读全文
posted @ 2015-05-28 22:29 Gabyler
阅读(243)
评论(0)
推荐(0)
poj2027简单题
摘要: #include #include int main(){ int n,x,y; scanf("%d",&n); while(n--) { scanf("%d %d",&x,&y); if(x>=y) printf("MMM ...
阅读全文
posted @ 2015-05-28 16:55 Gabyler
阅读(142)
评论(0)
推荐(0)
poj2017简单题
摘要: #include #include int main(){ int n,i; while(scanf("%d",&n)!=EOF) { int temp=0,sum=0,s,t; if(n==-1) break; fo...
阅读全文
posted @ 2015-05-28 16:45 Gabyler
阅读(106)
评论(0)
推荐(0)
poj2013---二维数组指针使用
摘要: #include #include #includeint main(){ int n,i,set_num=0; char arr1[15][26],arr2[15][26]; char *p1_fir,*p1_sec,*p2_sta,*p2_end; while(scanf...
阅读全文
posted @ 2015-05-28 15:29 Gabyler
阅读(143)
评论(0)
推荐(0)
2015年5月26日
poj2000---和1969一样的模板
摘要: #include #include int main(){ int d; while(scanf("%d",&d)!=EOF) { int k=1,s=0,totgol=0,totday=0; int i; if(d==0) ...
阅读全文
posted @ 2015-05-26 23:12 Gabyler
阅读(143)
评论(0)
推荐(0)
poj1969---找规律
摘要: 题意:按照s型分别给数编号,给#include #include int main(){ int n; while(scanf("%d",&n) != EOF) { int s=0,k=1; while(1) { s+...
阅读全文
posted @ 2015-05-26 22:10 Gabyler
阅读(149)
评论(0)
推荐(0)
上一页
1
···
8
9
10
11
12
13
14
15
下一页
公告