結果

問題 No.89 どんどんドーナツどーんといこう!
ユーザー syunsukesyunsuke
提出日時 2020-11-01 15:32:16
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 179 bytes
コンパイル時間 260 ms
コンパイル使用メモリ 87,104 KB
実行使用メモリ 71,804 KB
最終ジャッジ日時 2023-09-29 11:17:01
合計ジャッジ時間 1,774 ms
ジャッジサーバーID
(参考情報)
judge13 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 67 ms
71,420 KB
testcase_01 WA -
testcase_02 AC 71 ms
71,212 KB
testcase_03 WA -
testcase_04 WA -
testcase_05 WA -
testcase_06 WA -
testcase_07 WA -
testcase_08 AC 68 ms
71,440 KB
testcase_09 AC 68 ms
71,508 KB
testcase_10 WA -
権限があれば一括ダウンロードができます

ソースコード

diff #

import math
P=math.pi
#print(P)

C=int(input())
if C==0:
    print(0)
    exit()
In,Out=map(int,input().split())
r = (Out - In)/2
R = Out - r

Size=(r**2)*R*2*(P**2)
print(Size/C)
0