Submission #63178
ソースコード
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 | #define _GLIBCXX_DEBUG//実行時、何も出なかったらこれを使う #include<iostream> #include<algorithm> #include<vector> #include<string> #include<cmath> #include<queue> #include<stack> #include<map> #include<numeric> #include<climits> #include<limits>// #include <stdio.h>// #include<cmath> #include<iomanip> using namespace std; #define rep(i, n) for (int i = 0; i < (int)(n); i++) typedef long long ll; template < class A, class B> inline bool chmax(A &a, const B &b) { return b > a && (a = b, true ); } template < class A, class B> inline bool chmin(A &a, const B &b) { return b < a && (a = b, true ); } int dy[] = {1,0}; //次に行くところ int dx[] = {0,1}; //上に同じ int main() { cin.tie(0); ios::sync_with_stdio( false ); //l1,q9,0o,b6 double r; cin >> r; r /= 2; cout << fixed << setprecision(6) << r*r*M_PI << '\n' ; return 0; } |
ステータス
項目 | データ |
---|---|
問題 | 0804 - 円の面積 |
ユーザー名 | kumakuma |
投稿日時 | 2020-08-27 21:30:16 |
言語 | C++17 |
状態 | Accepted |
得点 | 1 |
ソースコード長 | 912 Byte |
最大実行時間 | 27 ms |
最大メモリ使用量 | 604 KB |
セット
セット | 得点 | Cases | |
---|---|---|---|
1 | ALL | 1 / 1 | * |
テストケース
ファイル名 | 状態 | 実行時間 | メモリ使用量 | # |
---|---|---|---|---|
input1.txt | AC | 27 ms | 604 KB |
1
|
input2.txt | AC | 21 ms | 436 KB |
1
|
input3.txt | AC | 24 ms | 388 KB |
1
|
input4.txt | AC | 21 ms | 476 KB |
1
|
input5.txt | AC | 21 ms | 560 KB |
1
|