摘要: #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 阅读(1424) 评论(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 阅读(893) 评论(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 阅读(1556) 评论(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 阅读(2005) 评论(0) 推荐(0) 编辑
摘要: #include int main() { int a; scanf("%d",&a); printf("%d",a); return 0; } 阅读全文
posted @ 2018-09-14 22:37 Estwind 阅读(1000) 评论(0) 推荐(0) 编辑
摘要: #include int main() { printf("***************\n\n Very Good!\n\n***************"); return 0; } 阅读全文
posted @ 2018-09-13 23:38 Estwind 阅读(1195) 评论(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 阅读(313) 评论(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 阅读(420) 评论(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 阅读(245) 评论(0) 推荐(0) 编辑
摘要: #include int main() { printf("%.1f\n",8.0/5); return 0; } 阅读全文
posted @ 2018-09-13 22:01 Estwind 阅读(240) 评论(0) 推荐(0) 编辑