結果

問題 No.89 どんどんドーナツどーんといこう!
ユーザー brthyyjpbrthyyjp
提出日時 2020-11-09 09:26:29
言語 PyPy3
(7.3.13)
結果
AC  
実行時間 66 ms / 5,000 ms
コード長 142 bytes
コンパイル時間 723 ms
コンパイル使用メモリ 87,304 KB
実行使用メモリ 71,616 KB
最終ジャッジ日時 2023-09-29 21:58:04
合計ジャッジ時間 2,408 ms
ジャッジサーバーID
(参考情報)
judge15 / judge11
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 65 ms
71,392 KB
testcase_01 AC 64 ms
71,588 KB
testcase_02 AC 66 ms
71,468 KB
testcase_03 AC 64 ms
71,408 KB
testcase_04 AC 61 ms
71,616 KB
testcase_05 AC 63 ms
71,452 KB
testcase_06 AC 63 ms
71,460 KB
testcase_07 AC 62 ms
71,320 KB
testcase_08 AC 65 ms
71,420 KB
testcase_09 AC 62 ms
71,208 KB
testcase_10 AC 64 ms
71,592 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

c = int(input())
rin, rout = map(int, input().split())

r = (rout-rin)/2
import math
x = (rout+rin)*math.pi
ans = math.pi*r**2*x*c
print(ans)
0