結果
問題 |
No.89 どんどんドーナツどーんといこう!
|
ユーザー |
![]() |
提出日時 | 2025-03-27 18:27:49 |
言語 | PyPy3 (7.3.15) |
結果 |
AC
|
実行時間 | 38 ms / 5,000 ms |
コード長 | 138 bytes |
コンパイル時間 | 355 ms |
コンパイル使用メモリ | 81,972 KB |
実行使用メモリ | 53,560 KB |
最終ジャッジ日時 | 2025-03-27 18:27:51 |
合計ジャッジ時間 | 1,757 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 |
other | AC * 9 |
ソースコード
import math C = int(input()) Rin, Rout = map(int, input().split()) r = (Rout - Rin)/2 ans = C*2*(math.pi**2)*(r**2)*(r + Rin) print(ans)