#include <stdio.h>
#include <math.h>
int main()
{
double pi = 3.1415926;
double r = 0;
//输入
scanf("%lf", &r);
//输出 - pow - 要用double数据类型
printf("%.3lf\n", 4 / 3.0 * pi * pow(r, 3));
return 0;
}
#include <stdio.h>
#include <math.h>
int main()
{
double pi = 3.1415926;
double r = 0;
//输入
scanf("%lf", &r);
//输出 - pow - 要用double数据类型
printf("%.3lf\n", 4 / 3.0 * pi * pow(r, 3));
return 0;
}