0
1
mirror of https://git.sb/baoshuo/OI-codes.git synced 2024-12-25 19:32:12 +00:00
OI-codes/Luogu/B2027/B2027.cpp

18 lines
301 B
C++
Raw Normal View History

2022-03-17 12:04:18 +00:00
#include <iostream>
2022-06-01 01:45:41 +00:00
#include <iomanip>
2022-03-17 12:04:18 +00:00
using std::cin;
using std::cout;
const char endl = '\n';
const double pi = 3.14;
double r;
int main() {
std::ios::sync_with_stdio(false);
cin >> r;
cout << std::fixed << std::setprecision(5) << 4.0 / 3.0 * pi * r * r * r << endl;
return 0;
}