結果

問題 No.1319 最強とんがりコーン
ユーザー 👑 KazunKazun
提出日時 2020-12-16 02:09:31
言語 PyPy3
(7.3.15)
結果
RE  
実行時間 -
コード長 262 bytes
コンパイル時間 165 ms
コンパイル使用メモリ 81,696 KB
実行使用メモリ 66,276 KB
最終ジャッジ日時 2023-10-20 08:49:39
合計ジャッジ時間 5,032 ms
ジャッジサーバーID
(参考情報)
judge15 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 RE -
testcase_01 RE -
testcase_02 AC 38 ms
53,896 KB
testcase_03 RE -
testcase_04 AC 38 ms
53,832 KB
testcase_05 AC 39 ms
53,896 KB
testcase_06 AC 38 ms
53,896 KB
testcase_07 AC 38 ms
53,896 KB
testcase_08 AC 37 ms
53,896 KB
testcase_09 AC 37 ms
53,896 KB
testcase_10 WA -
testcase_11 RE -
testcase_12 AC 37 ms
53,896 KB
testcase_13 AC 37 ms
53,896 KB
testcase_14 RE -
testcase_15 AC 37 ms
53,896 KB
testcase_16 WA -
testcase_17 AC 37 ms
53,832 KB
testcase_18 RE -
testcase_19 RE -
testcase_20 RE -
testcase_21 RE -
testcase_22 AC 38 ms
53,832 KB
testcase_23 AC 37 ms
53,832 KB
testcase_24 AC 38 ms
53,832 KB
testcase_25 AC 37 ms
53,832 KB
testcase_26 AC 36 ms
53,832 KB
testcase_27 AC 36 ms
53,832 KB
testcase_28 AC 36 ms
53,832 KB
testcase_29 AC 35 ms
53,832 KB
testcase_30 RE -
testcase_31 AC 37 ms
53,832 KB
testcase_32 RE -
testcase_33 AC 37 ms
53,832 KB
testcase_34 RE -
testcase_35 AC 38 ms
53,832 KB
testcase_36 AC 38 ms
53,832 KB
testcase_37 RE -
testcase_38 RE -
testcase_39 AC 38 ms
53,832 KB
testcase_40 RE -
testcase_41 AC 38 ms
53,896 KB
testcase_42 AC 38 ms
53,896 KB
testcase_43 WA -
testcase_44 WA -
testcase_45 AC 38 ms
53,896 KB
testcase_46 AC 39 ms
53,896 KB
testcase_47 WA -
testcase_48 RE -
testcase_49 RE -
testcase_50 AC 38 ms
53,896 KB
testcase_51 WA -
testcase_52 AC 37 ms
53,896 KB
testcase_53 RE -
testcase_54 RE -
testcase_55 WA -
testcase_56 AC 37 ms
53,896 KB
testcase_57 WA -
testcase_58 WA -
testcase_59 RE -
testcase_60 AC 36 ms
53,828 KB
testcase_61 AC 36 ms
53,828 KB
testcase_62 AC 37 ms
53,828 KB
testcase_63 AC 36 ms
53,828 KB
testcase_64 AC 37 ms
53,896 KB
testcase_65 AC 37 ms
53,896 KB
testcase_66 AC 38 ms
53,828 KB
testcase_67 AC 36 ms
53,832 KB
testcase_68 RE -
testcase_69 AC 37 ms
53,832 KB
testcase_70 AC 39 ms
53,896 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

from math import sqrt,log,acos
def F(z):
    A=sqrt(4*R*R*z*z-D*D*H*H)

    V1=-4*D*H*R*z*A
    V2=8*R**3*z**3*acos(D*H/(2*R*z))
    V3=D**3*H**3*(2*log(R)+log(2*R*z+A))

    return (V1+V2+V3)/(12*H*H*R)

R,H,D=map(float,input().split())
print(F(H)-F(D*H/(2*R)))
0