結果

問題 No.1487 ぺんぎんさんかっけー
ユーザー gorugo30gorugo30
提出日時 2021-04-23 21:27:30
言語 PyPy3
(7.3.13)
結果
AC  
実行時間 78 ms / 1,000 ms
コード長 141 bytes
コンパイル時間 679 ms
コンパイル使用メモリ 87,168 KB
実行使用メモリ 71,944 KB
最終ジャッジ日時 2023-09-17 11:43:23
合計ジャッジ時間 4,703 ms
ジャッジサーバーID
(参考情報)
judge15 / judge12
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 78 ms
71,944 KB
testcase_01 AC 74 ms
71,596 KB
testcase_02 AC 74 ms
71,784 KB
testcase_03 AC 76 ms
71,548 KB
testcase_04 AC 73 ms
71,828 KB
testcase_05 AC 74 ms
71,656 KB
testcase_06 AC 75 ms
71,796 KB
testcase_07 AC 72 ms
71,656 KB
testcase_08 AC 73 ms
71,620 KB
testcase_09 AC 73 ms
71,448 KB
testcase_10 AC 75 ms
71,752 KB
testcase_11 AC 75 ms
71,512 KB
testcase_12 AC 76 ms
71,824 KB
testcase_13 AC 74 ms
71,556 KB
testcase_14 AC 75 ms
71,552 KB
testcase_15 AC 76 ms
71,688 KB
testcase_16 AC 76 ms
71,660 KB
testcase_17 AC 75 ms
71,644 KB
testcase_18 AC 74 ms
71,660 KB
testcase_19 AC 74 ms
71,944 KB
testcase_20 AC 74 ms
71,684 KB
testcase_21 AC 72 ms
71,552 KB
testcase_22 AC 73 ms
71,908 KB
testcase_23 AC 75 ms
71,780 KB
testcase_24 AC 73 ms
71,576 KB
testcase_25 AC 72 ms
71,820 KB
testcase_26 AC 74 ms
71,660 KB
testcase_27 AC 75 ms
71,796 KB
testcase_28 AC 74 ms
71,880 KB
testcase_29 AC 74 ms
71,692 KB
testcase_30 AC 76 ms
71,820 KB
testcase_31 AC 74 ms
71,720 KB
testcase_32 AC 74 ms
71,888 KB
testcase_33 AC 72 ms
71,640 KB
testcase_34 AC 73 ms
71,604 KB
testcase_35 AC 72 ms
71,804 KB
testcase_36 AC 78 ms
71,876 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

def heron(a, b, c):
    s = (a + b + c) / 2
    return (s * (s - a) * (s - b) * (s - c)) ** 0.5

print(heron(*map(int, input().split())) / 4)
0