結果
問題 |
No.89 どんどんドーナツどーんといこう!
|
ユーザー |
|
提出日時 | 2025-08-03 08:34:29 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
AC
|
実行時間 | 31 ms / 5,000 ms |
コード長 | 165 bytes |
コンパイル時間 | 255 ms |
コンパイル使用メモリ | 12,288 KB |
実行使用メモリ | 10,240 KB |
最終ジャッジ日時 | 2025-08-03 08:34:31 |
合計ジャッジ時間 | 1,585 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 |
other | AC * 9 |
ソースコード
import math c = int(input()) Rin, Rout = map(int, input().split()) r = (Rout - Rin) / 2 ans = ((Rin + Rout) / 2) * 2 * math.pi * (r * r * math.pi) * c print(ans)