結果
| 問題 | No.89 どんどんドーナツどーんといこう! |
| コンテスト | |
| ユーザー |
dnish
|
| 提出日時 | 2017-01-04 18:28:47 |
| 言語 | C++11 (gcc 15.3.0 + boost 1.92.0) |
| 結果 |
AC
不安定
|
| 実行時間 | 1 ms / 5,000 ms |
| + 516µs | |
| コード長 | 250 bytes |
| 記録 | |
| コンパイル時間 | 909 ms |
| コンパイル使用メモリ | 175,148 KB |
| 実行使用メモリ | 6,528 KB |
| 最終ジャッジ日時 | 2026-09-10 20:19:06 |
| 合計ジャッジ時間 | 1,923 ms |
|
ジャッジサーバーID (参考情報) |
judge2_0 / judge1_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 9 |
ソースコード
#include <bits/stdc++.h>
using namespace std;
#define REP(i,N) for(int i=0;i<N;i++)
int main(){
int C,Rin,Rout;
double A,B;
cin>>C>>Rin>>Rout;
A=M_PI*(Rout-Rin)*(Rout-Rin)/4.0;
B=2*M_PI*(Rout+Rin)/2.0;
cout<<fixed<<C*A*B<<endl;
return 0;
}
dnish