#include<iostream>
#include<cmath>
#include<iomanip>
using namespace std;
#define PI 3.1415927
#define C 4.0/3.0
int main()
{
double r, ans;
while(cin >> r)
{
ans = C * PI * pow(r, 3);
cout << fixed;
cout << setprecision(3) << ans << endl;
}
return 0;
}
HDU 2002
最新推荐文章于 2018-12-07 22:06:47 发布