Problem : 2002 ( 计算球体积 ) Judge Status : Accepted
RunId : 5995463 Language : C Author : qq1203456195
Code Render Status : Rendered By HDOJ C Code Render Version 0.01 Beta
RunId : 5995463 Language : C Author : qq1203456195
Code Render Status : Rendered By HDOJ C Code Render Version 0.01 Beta
1 #include <stdio.h> 2 #include <math.h> 3 int main() 4 { 5 double r; 6 while (scanf("%lf",&r)!=EOF) 7 printf("%.3lf\n",4.0/3*3.1415927*pow(r,3)); 8 return 0; 9 }