mirror of
https://git.sb/baoshuo/OI-codes.git
synced 2024-12-24 03:31:59 +00:00
P4326 [COCI2006-2007#1] Herman
R39849330
This commit is contained in:
parent
9d229621dc
commit
15308f9454
12
problem/P4326/P4326.cpp
Normal file
12
problem/P4326/P4326.cpp
Normal file
@ -0,0 +1,12 @@
|
||||
#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;
|
||||
}
|
Loading…
Reference in New Issue
Block a user