結果
問題 | No.89 どんどんドーナツどーんといこう! |
ユーザー | カルロス |
提出日時 | 2015-08-31 11:19:57 |
言語 | C90 (gcc 11.4.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 269 bytes |
コンパイル時間 | 455 ms |
コンパイル使用メモリ | 24,236 KB |
実行使用メモリ | 4,508 KB |
最終ジャッジ日時 | 2023-09-25 20:55:07 |
合計ジャッジ時間 | 1,325 ms |
ジャッジサーバーID (参考情報) |
judge14 / judge13 |
(要ログイン)
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | WA | - |
testcase_01 | WA | - |
testcase_02 | WA | - |
testcase_03 | WA | - |
testcase_04 | WA | - |
testcase_05 | WA | - |
testcase_06 | WA | - |
testcase_07 | WA | - |
testcase_08 | WA | - |
testcase_09 | WA | - |
testcase_10 | WA | - |
ソースコード
#include <stdio.h> int main(void){ int C, Ri, Ro; double r, pi = 3.141592653589793238462643383279; scanf("%d", &C); scanf("%d %d", &Ri, &Ro); r = (Ro-Ri) / 2.0; printf("r = %lf\n", r); printf("%lf\n", 2*r*r*(Ri+r)*pi*pi*C); return 0; }