0
1
mirror of https://git.sb/baoshuo/OI-codes.git synced 2024-12-27 10:11:58 +00:00
OI-codes/Luogu/problem/P4326/P4326.cpp
2021-01-02 15:30:52 +08:00

13 lines
204 B
C++

#include <bits/stdc++.h>
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;
}