結果
問題 | No.89 どんどんドーナツどーんといこう! |
ユーザー |
![]() |
提出日時 | 2019-12-15 13:46:54 |
言語 | C (gcc 13.3.0) |
結果 |
AC
|
実行時間 | 1 ms / 5,000 ms |
コード長 | 221 bytes |
コンパイル時間 | 258 ms |
コンパイル使用メモリ | 29,312 KB |
実行使用メモリ | 5,376 KB |
最終ジャッジ日時 | 2024-07-02 18:13:45 |
合計ジャッジ時間 | 1,174 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 |
other | AC * 9 |
ソースコード
#include <stdio.h>#include <math.h>#define PI 3.14159265358979323846int main() {int c, rin, rout;scanf("%d %d %d", &c, &rin, &rout);printf("%0.8lf", pow(PI, 2)*(rin+rout)*pow(rout-rin, 2)/4*c);return 0;}