13 lines
209 B
C++
13 lines
209 B
C++
#include <bits/stdc++.h>
|
|
|
|
using namespace std;
|
|
|
|
const double PI = 3.14159;
|
|
|
|
int main() {
|
|
double r;
|
|
cin >> r;
|
|
printf("%.4lf %.4lf %.4lf", 2 * r, 2 * PI * r, PI * r * r);
|
|
return 0;
|
|
}
|