結果
| 問題 |
No.89 どんどんドーナツどーんといこう!
|
| コンテスト | |
| ユーザー |
lam6er
|
| 提出日時 | 2025-03-20 18:44:49 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
AC
|
| 実行時間 | 39 ms / 5,000 ms |
| コード長 | 214 bytes |
| コンパイル時間 | 168 ms |
| コンパイル使用メモリ | 82,228 KB |
| 実行使用メモリ | 53,748 KB |
| 最終ジャッジ日時 | 2025-03-20 18:45:03 |
| 合計ジャッジ時間 | 1,236 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 9 |
ソースコード
import math
C = int(input())
R_in, R_out = map(int, input().split())
r = (R_out - R_in) / 2.0
R = (R_in + R_out) / 2.0
volume = 2 * (math.pi ** 2) * (r ** 2) * R
kcal = C * volume
print("{0:.10f}".format(kcal))
lam6er