結果

問題 No.1487 ぺんぎんさんかっけー
ユーザー ayaoniayaoni
提出日時 2021-04-23 22:50:08
言語 PyPy3
(7.3.13)
結果
AC  
実行時間 78 ms / 1,000 ms
コード長 526 bytes
コンパイル時間 862 ms
コンパイル使用メモリ 87,016 KB
実行使用メモリ 71,780 KB
最終ジャッジ日時 2023-09-17 12:51:37
合計ジャッジ時間 5,227 ms
ジャッジサーバーID
(参考情報)
judge15 / judge12
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 76 ms
71,616 KB
testcase_01 AC 76 ms
71,628 KB
testcase_02 AC 78 ms
71,676 KB
testcase_03 AC 77 ms
71,776 KB
testcase_04 AC 76 ms
71,664 KB
testcase_05 AC 76 ms
71,600 KB
testcase_06 AC 77 ms
71,580 KB
testcase_07 AC 77 ms
71,776 KB
testcase_08 AC 78 ms
71,612 KB
testcase_09 AC 77 ms
71,616 KB
testcase_10 AC 78 ms
71,716 KB
testcase_11 AC 76 ms
71,668 KB
testcase_12 AC 77 ms
71,340 KB
testcase_13 AC 78 ms
71,528 KB
testcase_14 AC 76 ms
71,348 KB
testcase_15 AC 77 ms
71,392 KB
testcase_16 AC 78 ms
71,544 KB
testcase_17 AC 75 ms
71,648 KB
testcase_18 AC 77 ms
71,636 KB
testcase_19 AC 75 ms
71,752 KB
testcase_20 AC 76 ms
71,752 KB
testcase_21 AC 75 ms
71,748 KB
testcase_22 AC 78 ms
71,712 KB
testcase_23 AC 74 ms
71,612 KB
testcase_24 AC 76 ms
71,412 KB
testcase_25 AC 77 ms
71,548 KB
testcase_26 AC 77 ms
71,752 KB
testcase_27 AC 76 ms
71,492 KB
testcase_28 AC 75 ms
71,460 KB
testcase_29 AC 77 ms
71,412 KB
testcase_30 AC 77 ms
71,724 KB
testcase_31 AC 75 ms
71,600 KB
testcase_32 AC 75 ms
71,608 KB
testcase_33 AC 77 ms
71,668 KB
testcase_34 AC 75 ms
71,720 KB
testcase_35 AC 78 ms
71,780 KB
testcase_36 AC 77 ms
71,580 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import sys

sys.setrecursionlimit(10**7)
def I(): return int(sys.stdin.readline().rstrip())
def MI(): return map(int,sys.stdin.readline().rstrip().split())
def LI(): return list(map(int,sys.stdin.readline().rstrip().split()))
def LI2(): return list(map(int,sys.stdin.readline().rstrip()))
def S(): return sys.stdin.readline().rstrip()
def LS(): return list(sys.stdin.readline().rstrip().split())
def LS2(): return list(sys.stdin.readline().rstrip())


a,b,c = MI()
s = (a+b+c)/2
ans = ((s*(s-a)*(s-b)*(s-c))**.5)/4
print(ans)
0