HDU 2002

xiaoxiao2021-02-28  68

#define PI 3.1415927 #include<iostream> #include<cmath> #include<iomanip> using namespace std; int main(void) { double r = 0; while (cin >> r) { cout << fixed << setprecision(3) << pow(r, 3) * PI * 4 / 3 << endl; } return 0; }
转载请注明原文地址: https://www.6miu.com/read-75769.html

最新回复(0)