結果

問題 No.89 どんどんドーナツどーんといこう!
ユーザー Kura
提出日時 2019-07-12 10:25:26
言語 C++11(廃止可能性あり)
(gcc 13.3.0)
結果
WA  
実行時間 -
コード長 152 bytes
コンパイル時間 1,183 ms
コンパイル使用メモリ 159,672 KB
実行使用メモリ 6,820 KB
最終ジャッジ日時 2024-11-17 04:39:17
合計ジャッジ時間 1,813 ms
ジャッジサーバーID
(参考情報)
judge2 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample WA * 2
other AC * 3 WA * 6
権限があれば一括ダウンロードができます

ソースコード

diff #

#include<bits/stdc++.h>
using namespace std;
int main(){
  int c,r,R;cin>>c>>r>>R;
  double V=(r+R)*M_PI*(R-r)*(R-r)/4.0*M_PI;
  cout<<fixed<<V<<endl;
}
0