結果

問題 No.1319 最強とんがりコーン
ユーザー 👑 KazunKazun
提出日時 2020-12-22 01:08:37
言語 PyPy3
(7.3.15)
結果
RE  
実行時間 -
コード長 332 bytes
コンパイル時間 179 ms
コンパイル使用メモリ 81,664 KB
実行使用メモリ 79,896 KB
最終ジャッジ日時 2023-10-21 12:20:16
合計ジャッジ時間 15,588 ms
ジャッジサーバーID
(参考情報)
judge11 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 RE -
testcase_01 AC 342 ms
79,884 KB
testcase_02 WA -
testcase_03 RE -
testcase_04 AC 293 ms
79,888 KB
testcase_05 AC 213 ms
79,892 KB
testcase_06 WA -
testcase_07 AC 156 ms
79,888 KB
testcase_08 AC 162 ms
79,892 KB
testcase_09 WA -
testcase_10 AC 134 ms
79,888 KB
testcase_11 RE -
testcase_12 AC 193 ms
79,892 KB
testcase_13 AC 142 ms
79,892 KB
testcase_14 AC 135 ms
79,888 KB
testcase_15 AC 149 ms
79,892 KB
testcase_16 WA -
testcase_17 AC 334 ms
79,888 KB
testcase_18 AC 148 ms
79,892 KB
testcase_19 AC 224 ms
79,888 KB
testcase_20 RE -
testcase_21 AC 337 ms
79,892 KB
testcase_22 AC 143 ms
79,888 KB
testcase_23 AC 219 ms
79,892 KB
testcase_24 AC 293 ms
79,892 KB
testcase_25 AC 235 ms
79,892 KB
testcase_26 AC 175 ms
79,888 KB
testcase_27 AC 254 ms
79,896 KB
testcase_28 AC 195 ms
79,888 KB
testcase_29 WA -
testcase_30 AC 349 ms
79,888 KB
testcase_31 AC 232 ms
79,888 KB
testcase_32 AC 138 ms
79,888 KB
testcase_33 AC 168 ms
79,888 KB
testcase_34 RE -
testcase_35 AC 189 ms
79,888 KB
testcase_36 WA -
testcase_37 AC 343 ms
79,888 KB
testcase_38 AC 288 ms
79,888 KB
testcase_39 AC 227 ms
79,888 KB
testcase_40 AC 155 ms
79,888 KB
testcase_41 AC 128 ms
79,892 KB
testcase_42 AC 142 ms
79,896 KB
testcase_43 WA -
testcase_44 WA -
testcase_45 WA -
testcase_46 AC 158 ms
79,888 KB
testcase_47 WA -
testcase_48 RE -
testcase_49 AC 139 ms
79,888 KB
testcase_50 WA -
testcase_51 AC 129 ms
79,888 KB
testcase_52 WA -
testcase_53 RE -
testcase_54 AC 149 ms
79,896 KB
testcase_55 AC 131 ms
79,888 KB
testcase_56 WA -
testcase_57 WA -
testcase_58 WA -
testcase_59 WA -
testcase_60 AC 115 ms
79,104 KB
testcase_61 AC 117 ms
79,100 KB
testcase_62 AC 117 ms
79,108 KB
testcase_63 AC 117 ms
79,104 KB
testcase_64 AC 115 ms
79,344 KB
testcase_65 AC 270 ms
79,892 KB
testcase_66 AC 118 ms
79,104 KB
testcase_67 WA -
testcase_68 AC 369 ms
79,896 KB
testcase_69 AC 395 ms
79,896 KB
testcase_70 WA -
権限があれば一括ダウンロードができます

ソースコード

diff #

from math import sqrt,log,acos
def F():
    delta=0.0001
    z=(D*H)/(2*R)
    S=0
    while z<H:
        t=D*H/(2*R*z)
        alpha=4*R*z*acos(t)
        beta=D*H*sqrt(4-(D*H/(R*z))**2)
        S+=z*(alpha-beta)
        z+=delta
    return R*S/(2*H*H)*delta

from decimal import Decimal
R,H,D=map(float,input().split())
print(F())
0