diff --git a/Luogu/problem/B2014/B2014.cpp b/Luogu/problem/B2014/B2014.cpp new file mode 100644 index 00000000..00e75f54 --- /dev/null +++ b/Luogu/problem/B2014/B2014.cpp @@ -0,0 +1,14 @@ +#include + +using namespace std; + +const double pi = 3.14159; + +int main() { + double r; + cin >> r; + cout << fixed << setprecision(4) << 2 * r << ' ' + << fixed << setprecision(4) << 2 * pi * r << ' ' + << fixed << setprecision(4) << pi * r * r << endl; + return 0; +}