Submission #00082
ソースコード
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | #include <iostream> #include <cstdio> #include <vector> #include <algorithm> #define FOR(i,a,b) for(int i = (a); i < b; ++i) #define REP(i,n) for(int i = 0; i < n; ++i) using ll = long long ; using namespace std; int main(){ ios::sync_with_stdio( false ); cin.tie(0); int r; cin >> r; r /= 2; cout << 3.141593 * r * r << "\n" return 0; } |
ステータス
項目 | データ |
---|---|
問題 | 0007 - 円の面積 |
ユーザー名 | hagyu_aya |
投稿日時 | 2017-07-30 20:16:21 |
言語 | C++11 |
状態 | Compile Error |
得点 | 0 |
ソースコード長 | 365 Byte |
最大実行時間 | - |
最大メモリ使用量 |
コンパイルメッセージ
./Main.cpp: 関数 ‘int main()’ 内: ./Main.cpp:19:9: エラー: expected ‘;’ before ‘return’ return 0; ^~~~~~
セット
セット | 得点 | Cases |
---|
テストケース
ファイル名 | 状態 | 実行時間 | メモリ使用量 | # |
---|