mirror of
https://git.sb/baoshuo/OI-codes.git
synced 2024-11-08 13:58:48 +00:00
604. 圆的面积
https://www.acwing.com/problem/content/submission/code_detail/7741979/
This commit is contained in:
parent
86539a48c3
commit
c10aad441a
12
AcWing/604/604.cpp
Normal file
12
AcWing/604/604.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;
|
||||
cout << "A=" << fixed << setprecision(4) << pi * r * r << endl;
|
||||
return 0;
|
||||
}
|
Loading…
Reference in New Issue
Block a user