結果
| 問題 | No.89 どんどんドーナツどーんといこう! |
| コンテスト | |
| ユーザー |
shialt
|
| 提出日時 | 2014-12-10 22:21:36 |
| 言語 | C++11 (gcc 15.2.0 + boost 1.89.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 237 bytes |
| 記録 | |
| コンパイル時間 | 671 ms |
| コンパイル使用メモリ | 69,824 KB |
| 実行使用メモリ | 7,720 KB |
| 最終ジャッジ日時 | 2026-03-05 02:51:02 |
| 合計ジャッジ時間 | 1,427 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| 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.14159 * (in + out) / 2 * 3.14159 * (out - in) / 2 * (out - in) / 2);
return 0;
}
shialt