Submission #51071


ソースコード

1
2
3
4
5
6
7
8
9
10
#include<bits/stdc++.h>
using namespace std;
int main(){
cin.tie(0);
ios::sync_with_stdio(false);
double n,mpi=M_PI;
cin >> n;
cout <<fixed <<(n/2)*(n/2)*mpi << '\n';
return 0;
}

ステータス

項目 データ
問題 0804 - 円の面積
ユーザー名 ei1903
投稿日時 2019-07-04 15:36:49
言語 C++
状態 Accepted
得点 1
ソースコード長 211 Byte
最大実行時間 27 ms
最大メモリ使用量 640 KB

セット

セット 得点 Cases
1 ALL 1 / 1 *

テストケース

ファイル名 状態 実行時間 メモリ使用量 #
input1.txt AC 26 ms 604 KB
1
input2.txt AC 22 ms 560 KB
1
input3.txt AC 24 ms 640 KB
1
input4.txt AC 27 ms 596 KB
1
input5.txt AC 19 ms 548 KB
1