結果
問題 | No.89 どんどんドーナツどーんといこう! |
ユーザー |
![]() |
提出日時 | 2017-02-03 21:39:22 |
言語 | C++11 (gcc 13.3.0) |
結果 |
AC
|
実行時間 | 2 ms / 5,000 ms |
コード長 | 210 bytes |
コンパイル時間 | 1,440 ms |
コンパイル使用メモリ | 159,524 KB |
実行使用メモリ | 5,248 KB |
最終ジャッジ日時 | 2024-10-05 23:07:09 |
合計ジャッジ時間 | 2,151 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 |
other | AC * 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;printf("%.8f",(pow(M_PI,2)/4*(ri+ro)*pow((ro-ri),2))*c);}