'commit'
This commit is contained in:
12
TangDou/AoSaiYiBenTong/YBT1014.cpp
Normal file
12
TangDou/AoSaiYiBenTong/YBT1014.cpp
Normal file
@@ -0,0 +1,12 @@
|
||||
#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;
|
||||
}
|
||||
Reference in New Issue
Block a user