結果
| 問題 | No.89 どんどんドーナツどーんといこう! |
| コンテスト | |
| ユーザー |
shialt
|
| 提出日時 | 2014-12-10 22:25:14 |
| 言語 | C++11 (gcc 15.2.0 + boost 1.89.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 255 bytes |
| 記録 | |
| コンパイル時間 | 497 ms |
| コンパイル使用メモリ | 69,716 KB |
| 実行使用メモリ | 7,720 KB |
| 最終ジャッジ日時 | 2026-03-05 02:51:03 |
| 合計ジャッジ時間 | 1,113 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 1 WA * 1 |
| other | AC * 2 WA * 7 |
ソースコード
#include <iostream>
int main(void)
{
double C, in, out;
scanf("%f", &C);
scanf("%f", &in);
scanf("%f", &out);
printf("%f\n", C * 2 * 3.14159265358979 * (in + out) / 2 * 3.14159265358979 * (out - in) / 2 * (out - in) / 2);
return 0;
}
shialt