mirror of
https://github.com/Kiritow/OJ-Problems-Source.git
synced 2024-03-22 13:11:29 +08:00
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;
|
||
|
}
|