Create 1441.cpp

pull/11/head
KiritoTRw 2016-05-01 18:42:06 +08:00
parent ffcc0ae0bc
commit 3a8695dd93
1 changed files with 17 additions and 0 deletions

17
QUSTOJ/1441.cpp Normal file
View 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;
}