题目链接:https://acm.hdu.edu.cn/showproblem.php?pid=2002
#include<stdio.h>
#include<math.h>
#define PI 3.1415927
int main()
{ double r;
while(scanf("%lf",&r)!=EOF)// while(~scanf("%lf", &r))
{
double v=(4/3.0)PI*pow(r,3); //pow(r,3) 表示r的三次方
printf("%.3lf\n",v);
}
return 0;
}