上一页 1 ··· 6 7 8 9 10 11 12 13 14 15 下一页
摘要: #include #include int main(){ int n,nc,i; scanf("%d",&n); while(n--) { int sum=0,tmp; scanf("%d",&nc); for(i=0; i<nc;... 阅读全文
posted @ 2015-06-17 13:39 Gabyler 阅读(191) 评论(0) 推荐(0) 编辑
摘要: #include #include #includeint map[26]={0,1,2,3,0,1,2,0,0,2,2,4,5,5,0,1,2,6,2,3,0,1,0,2,0,2};int main(){ char str[20]; int i; while(scanf("%s"... 阅读全文
posted @ 2015-06-17 13:10 Gabyler 阅读(150) 评论(0) 推荐(0) 编辑
摘要: #include #include int main(){ int x,y,z,a,b,c; while(scanf("%d %d %d",&x,&y,&z) !=EOF) { a=(z+x-2*y)/2; b=(4*y-3*x-z)/2; ... 阅读全文
posted @ 2015-06-16 18:20 Gabyler 阅读(147) 评论(0) 推荐(0) 编辑
摘要: #include #include int main(){ int a,b,c; scanf("%d %d %d",&a,&b,&c); if(a <= 168) { printf("CRASH %d\n",a); return 0; } ... 阅读全文
posted @ 2015-06-16 17:14 Gabyler 阅读(121) 评论(0) 推荐(0) 编辑
摘要: #include #include int rever(int n) { return -n; } int main() { int n,m,p,c; while(scanf("%d %d %d %d"... 阅读全文
posted @ 2015-06-16 17:02 Gabyler 阅读(138) 评论(0) 推荐(0) 编辑
摘要: #include #include #includeint main(){ int i,j; char arr[60],str[] = {"`1234567890-=QWERTYUIOP[]\\ASDFGHJKL;'ZXCVBNM,./"}; while(gets(arr) != ... 阅读全文
posted @ 2015-06-16 17:01 Gabyler 阅读(148) 评论(0) 推荐(0) 编辑
摘要: #include #include int main(){ int now,k; while(scanf("%d %d",&now,&k) != EOF) { int hav=0; while(now >= k) { ... 阅读全文
posted @ 2015-06-15 20:26 Gabyler 阅读(218) 评论(0) 推荐(0) 编辑
摘要: #include #include #include#define pi acos(-1)int main(){ int D,v; while(scanf("%d %d",&D,&v) != EOF && D) { printf("%.3f\n",pow(D*D*D-... 阅读全文
posted @ 2015-06-15 16:52 Gabyler 阅读(162) 评论(0) 推荐(0) 编辑
摘要: #include #include int main(){ int r,m,y,i; scanf("%d %d %d",&r,&m,&y); double ans=m*((double)r/100+1); for(i=1;i<y;i++) { ans*=(... 阅读全文
posted @ 2015-06-15 15:49 Gabyler 阅读(118) 评论(0) 推荐(0) 编辑
摘要: #include#include#include#define MAX 100int main(){ char s1[MAX],s2[MAX]; int len1,len2,i,j,result[MAX]={0}; scanf("%s %s",s1,s2); len1=str... 阅读全文
posted @ 2015-06-15 13:24 Gabyler 阅读(342) 评论(0) 推荐(0) 编辑
上一页 1 ··· 6 7 8 9 10 11 12 13 14 15 下一页