結果
問題 |
No.89 どんどんドーナツどーんといこう!
|
ユーザー |
![]() |
提出日時 | 2017-02-03 21:38:39 |
言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 262 bytes |
コンパイル時間 | 1,407 ms |
コンパイル使用メモリ | 158,028 KB |
実行使用メモリ | 6,820 KB |
最終ジャッジ日時 | 2024-12-24 04:23:32 |
合計ジャッジ時間 | 2,083 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | WA * 2 |
other | WA * 9 |
ソースコード
#define _USE_MATH_DEFINES #include <bits/stdc++.h> using namespace std; #include <math.h> int main() { double c; double ri,ro; cin>>c; cin>>ri>>ro; cout<<pow(M_PI,2)<<endl; cout<<pow(M_PI,2)/4<<endl; printf("%.8f",(pow(M_PI,2)/4*(ri+ro)*pow((ro-ri),2))*c); }