diff --git a/problem/P4326/P4326.cpp b/problem/P4326/P4326.cpp new file mode 100644 index 00000000..4c550968 --- /dev/null +++ b/problem/P4326/P4326.cpp @@ -0,0 +1,12 @@ +#include + +using namespace std; + +const double pi = 3.14159265358979323; + +int main() { + int r; + scanf("%d", &r); + printf("%.6lf\n%.6lf\n", r * r * pi, r * r * 2.0); + return 0; +}