結果
| 問題 | No.3151 natural math of inscribed circle |
| コンテスト | |
| ユーザー |
norioc
|
| 提出日時 | 2025-05-20 21:36:10 |
| 言語 | PyPy3 (7.3.17) |
| 結果 |
AC
|
| 実行時間 | 56 ms / 2,000 ms |
| + 45µs | |
| コード長 | 214 bytes |
| 記録 | |
| コンパイル時間 | 234 ms |
| コンパイル使用メモリ | 95,976 KB |
| 実行使用メモリ | 79,388 KB |
| 最終ジャッジ日時 | 2026-07-12 11:52:09 |
| 合計ジャッジ時間 | 4,469 ms |
|
ジャッジサーバーID (参考情報) |
judge1_0 / judge2_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| 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)
norioc