AC代码:
#include <stdio.h>
#define PI 3.1415927
int main()
{
double r;
while (scanf("%lf", &r) != EOF)
{
printf("%lf\n", 4.0*PI*r*r*r/3.0);
}
return 0;
}
AC代码:
#include <stdio.h>
#define PI 3.1415927
int main()
{
double r;
while (scanf("%lf", &r) != EOF)
{
printf("%lf\n", 4.0*PI*r*r*r/3.0);
}
return 0;
}