09 2018 档案

摘要:#include #includeint main() { int s; const double pi=acos(-1); double a,b; while(scanf("%ld",&s)!=EOF) { a=sin(s*pi/180); b=cos(s*pi/180); printf("%.2f\n%.2f\n",a,b); ... 阅读全文
posted @ 2018-09-28 23:31 Estwind 阅读(1619) 评论(0) 推荐(0)
摘要:#include int main() { float c,f; while(scanf("%f",&f)!=EOF) { c=(f-32)*5.0/9; printf("%.3f\n",c); } return 0; } 阅读全文
posted @ 2018-09-28 18:21 Estwind 阅读(549) 评论(0) 推荐(0)
摘要:#include int main() { float f,c; while(scanf("%f",&f)!=EOF) { c=(f-32)*5.0/9; printf("fahr=%f,celsius=%f\n",f,c); } return 0; } 阅读全文
posted @ 2018-09-28 18:06 Estwind 阅读(577) 评论(0) 推荐(0)
摘要:#include int main() { double a,b,c; while(scanf("%lf %lf %lf",&a,&b,&c)!=EOF) { printf("%.3f\n",(a+b+c)/3); } return 0; } 阅读全文
posted @ 2018-09-28 17:53 Estwind 阅读(711) 评论(0) 推荐(0)
摘要:#include int main() { printf("\\n"); return 0; } 阅读全文
posted @ 2018-09-27 23:42 Estwind 阅读(433) 评论(0) 推荐(0)
摘要:#include int main() { printf("%%d"); return 0; } 阅读全文
posted @ 2018-09-27 23:37 Estwind 阅读(467) 评论(0) 推荐(0)
摘要:#include int main() { int a,b,c; while(scanf("%d %d",&a,&b)!=EOF) { c=a; a=b; b=c; printf("%d %d",a,b); } return 0; } 阅读全文
posted @ 2018-09-27 23:30 Estwind 阅读(606) 评论(0) 推荐(0)
摘要:#include int main() { int s,a,b,c; while(scanf("%d",&s)!=EOF) { a=s/100; b=s%100/10; c=s%100%10; printf("%d%d%d",c,b,a); } return 0; } 阅读全文
posted @ 2018-09-27 23:19 Estwind 阅读(585) 评论(0) 推荐(0)
摘要:#include int main() { int h1,m1,h2,m2,s; while(scanf("%d:%d %d:%d",&h1,&m1,&h2,&m2)!=EOF) { s=(h1-h2)*60+m2-m1-1; printf("%d",s); } return 0; } 阅读全文
posted @ 2018-09-27 23:09 Estwind 阅读(796) 评论(0) 推荐(0)
摘要:#include int main() { int n1,m1,d1,n2,m2,d2,s; while(scanf("%d-%d-%d %d-%d-%d",&n1,&m1,&d1,&n2,&m2,&d2)!=EOF) s=d2-d1-1; printf("%d\n",s); return 0; } 阅读全文
posted @ 2018-09-26 23:51 Estwind 阅读(764) 评论(0) 推荐(0)
摘要:#include int main () { float a,b,h,s; while(scanf("%f,%f,%f",&a,&b,&h)!=EOF) { s=(a+b)*h/2; printf("%.2f",s); } return 0; } 阅读全文
posted @ 2018-09-26 22:23 Estwind 阅读(1596) 评论(0) 推荐(0)
摘要:#include #include const double pi=4.0*atan(1.0); int main () { float r,h,s1,s2; while(scanf("%f %f",&r,&h)!=EOF) {s1=2*pi*r*r; s2=2*pi*r*h; printf("Area=""%.3f",s1+s2);} retu... 阅读全文
posted @ 2018-09-26 22:11 Estwind 阅读(1478) 评论(0) 推荐(0)
摘要:#include int main() { int h1,m1,m2,h2; scanf("%d:%d",&h1,&m1); scanf("%d:%d",&h2,&m2); printf("%d",h2*60-h1*60+m2-m1); return 0; } 阅读全文
posted @ 2018-09-25 22:53 Estwind 阅读(940) 评论(0) 推荐(0)
摘要:#include int main() { int a,b; scanf("%d,%d",&a,&b); printf("%d\n",a-b); return 0; } 阅读全文
posted @ 2018-09-16 21:43 Estwind 阅读(1679) 评论(0) 推荐(0)
摘要:#include int main() { int a,b; scanf("%d %d",&a,&b); printf("a=""%d\n",a); printf("b=""%d\n",b); printf("s=""%d\n",a+b); return 0; } 阅读全文
posted @ 2018-09-14 23:23 Estwind 阅读(2101) 评论(0) 推荐(0)
摘要:#include int main() { int a; scanf("%d",&a); printf("%d",a); return 0; } 阅读全文
posted @ 2018-09-14 22:37 Estwind 阅读(1130) 评论(0) 推荐(0)
摘要:#include int main() { printf("***************\n\n Very Good!\n\n***************"); return 0; } 阅读全文
posted @ 2018-09-13 23:38 Estwind 阅读(1267) 评论(0) 推荐(0)
摘要:#include int main() { int a,b; scanf("%d %d",&a,&b); printf("%d",a-b); return 0; } #include int main() { int a,b; scanf("%d",&a); scanf("%d",&b); printf("%d",a-b);... 阅读全文
posted @ 2018-09-13 23:26 Estwind 阅读(330) 评论(0) 推荐(0)
摘要:#include int main() { int a,b; scanf("%d",&a); scanf("%d",&b); printf("%d",a+b); return 0; } #include int main() { int a,b; scanf("%d %d",&a,&b); printf("%d",a+b);... 阅读全文
posted @ 2018-09-13 23:22 Estwind 阅读(434) 评论(0) 推荐(0)
摘要:#include #include int main() { printf("%.2f\n",1.00+sqrt(3.00)/(4.00-2.10)); return 0; } 阅读全文
posted @ 2018-09-13 22:12 Estwind 阅读(260) 评论(0) 推荐(0)
摘要:#include int main() { printf("%.1f\n",8.0/5); return 0; } 阅读全文
posted @ 2018-09-13 22:01 Estwind 阅读(270) 评论(0) 推荐(0)
摘要:#include int main() { printf("%d\n",12/2); return 0; } 阅读全文
posted @ 2018-09-13 21:57 Estwind 阅读(288) 评论(0) 推荐(0)
摘要:#include int main() { printf("%d\n",9*10); return 0; } 阅读全文
posted @ 2018-09-13 21:46 Estwind 阅读(205) 评论(0) 推荐(0)
摘要:#include int main() { printf("%d\n",10-7); return 0; } 阅读全文
posted @ 2018-09-13 21:36 Estwind 阅读(200) 评论(0) 推荐(0)
摘要:#include <stdio.h> int main() { printf("Nice to meet you!"); return 0; } 阅读全文
posted @ 2018-09-13 21:27 Estwind 阅读(205) 评论(0) 推荐(0)
摘要:#include int main() { printf("Hello World!\n"); return 0; } 阅读全文
posted @ 2018-09-13 21:24 Estwind 阅读(180) 评论(0) 推荐(0)