标签:otto scanf pre inpu des rip BMI main \n
Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)
Total Submission(s): 194043 Accepted Submission(s): 76838
1 #include<cstdio> 2 const double PI = 3.1415927; 3 int main() 4 { 5 double r; 6 while(scanf("%lf",&r)!=EOF) 7 { 8 double v = (1.0)*4/3*PI*r*r*r; 9 printf("%.3f\n",v); 10 } 11 return 0; 12 }
标签:otto scanf pre inpu des rip BMI main \n
原文地址:https://www.cnblogs.com/knmxx/p/9281775.html