摘要: #include #include #define PI 3.1415927int main(){ double r,vol; while (scanf ("%lf",&r)!=EOF) { vol=4.0/3*PI*r*r*r;//There is 4.0,isn'... 阅读全文
posted @ 2015-09-17 22:03 lss_小尘 阅读(866) 评论(0) 推荐(0) 编辑
摘要: #include int main(){ char a,b,c; char t; while(scanf("%c%c%c",&a,&b,&c)!=EOF) { getchar(); if (a>b) {t=a;a=b;b=t;} if (a>c) {t=a;a=c;c=t;} if (b>c) {t... 阅读全文
posted @ 2015-09-17 20:49 lss_小尘 阅读(595) 评论(0) 推荐(0) 编辑
摘要: 我是这样写的:#include int main(){ char a,b,c; char t; while(scanf("%c%c%c",&a,&b,&c)!=EOF) { getchar(); if (a>b) {t=a;a=b;b=t;} if (a>c) {t=a;a=c;c=t;} if (... 阅读全文
posted @ 2015-09-17 20:31 lss_小尘 阅读(629) 评论(0) 推荐(0) 编辑