結果
問題 |
No.3151 natural math of inscribed circle
|
ユーザー |
![]() |
提出日時 | 2025-05-20 23:34:36 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
AC
|
実行時間 | 30 ms / 2,000 ms |
コード長 | 141 bytes |
コンパイル時間 | 285 ms |
コンパイル使用メモリ | 11,904 KB |
実行使用メモリ | 10,240 KB |
最終ジャッジ日時 | 2025-06-20 03:01:55 |
合計ジャッジ時間 | 2,419 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 |
other | AC * 41 |
ソースコード
import math A, B, C = map(int, input().split()) s = (A + B + C) / 2 print("{:.10f}".format(math.sqrt(s * (s - A) * (s - B) * (s - C)) / s))