mirror of
https://github.com/Kiritow/OJ-Problems-Source.git
synced 2024-03-22 13:11:29 +08:00
Create 1441.cpp
This commit is contained in:
parent
ffcc0ae0bc
commit
3a8695dd93
17
QUSTOJ/1441.cpp
Normal file
17
QUSTOJ/1441.cpp
Normal file
|
@ -0,0 +1,17 @@
|
||||||
|
#include <cstdio>
|
||||||
|
using namespace std;
|
||||||
|
|
||||||
|
|
||||||
|
const double pi=3.1415926;
|
||||||
|
|
||||||
|
double round;
|
||||||
|
|
||||||
|
int main()
|
||||||
|
{
|
||||||
|
while(scanf("%lf",&round)==1)
|
||||||
|
{
|
||||||
|
double ans=4*pi*round*round*round/3;
|
||||||
|
printf("%.3lf\n",ans);
|
||||||
|
}
|
||||||
|
return 0;
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user