結果
| 問題 | No.3151 natural math of  inscribed circle | 
| コンテスト | |
| ユーザー |  Rute | 
| 提出日時 | 2025-05-20 21:55:56 | 
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) | 
| 結果 | 
                                AC
                                 
                             | 
| 実行時間 | 33 ms / 2,000 ms | 
| コード長 | 245 bytes | 
| コンパイル時間 | 550 ms | 
| コンパイル使用メモリ | 11,904 KB | 
| 実行使用メモリ | 10,752 KB | 
| 最終ジャッジ日時 | 2025-06-20 03:00:11 | 
| 合計ジャッジ時間 | 2,931 ms | 
| ジャッジサーバーID (参考情報) | judge1 / judge4 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| sample | AC * 2 | 
| other | AC * 41 | 
ソースコード
from decimal import Decimal A, B, C = map(int,input().split()) #s = (A + B + C) / 2 #面積S = √s * (s - a) * (s - b) * (s - c) s = (A + B + C)/2 S = (s * (s - A) * (s - B) * (s - C)) ans = 2 * (S ** 0.5) ans = ans / (A + B + C) print(ans)
