結果
| 問題 | No.3151 natural math of  inscribed circle | 
| コンテスト | |
| ユーザー |  norioc | 
| 提出日時 | 2025-05-20 21:36:10 | 
| 言語 | PyPy3 (7.3.15) | 
| 結果 | 
                                AC
                                 
                             | 
| 実行時間 | 38 ms / 2,000 ms | 
| コード長 | 214 bytes | 
| コンパイル時間 | 617 ms | 
| コンパイル使用メモリ | 82,560 KB | 
| 実行使用メモリ | 52,480 KB | 
| 最終ジャッジ日時 | 2025-06-20 02:59:17 | 
| 合計ジャッジ時間 | 2,767 ms | 
| ジャッジサーバーID (参考情報) | judge1 / judge3 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| sample | AC * 2 | 
| other | AC * 41 | 
ソースコード
from math import sqrt
def area(a, b, c):
    s = (a + b + c) / 2
    t = s * (s-a) * (s-b) * (s-c)
    return sqrt(t)
A, B, C = map(int, input().split())
s = area(A, B, C)
ans = 2 * s / (A + B + C)
print(ans)
            
            
            
        