mirror of
https://github.com/Kiritow/OJ-Problems-Source.git
synced 2024-03-22 13:11:29 +08:00
ddd34a4f1c
2000-2099
11 lines
196 B
C++
11 lines
196 B
C++
#include <math.h>
|
|
#include <stdio.h>
|
|
#define PI 3.1415927
|
|
int main(void)
|
|
{
|
|
double r;
|
|
while (scanf("%lf", &r) != EOF)
|
|
printf("%.3lf\n", 4.0*PI*r*r*r/3.0);
|
|
return 0;
|
|
}
|