結果
問題 |
No.1487 ぺんぎんさんかっけー
|
ユーザー |
![]() |
提出日時 | 2025-03-20 21:08:04 |
言語 | PyPy3 (7.3.15) |
結果 |
AC
|
実行時間 | 39 ms / 1,000 ms |
コード長 | 337 bytes |
コンパイル時間 | 161 ms |
コンパイル使用メモリ | 82,272 KB |
実行使用メモリ | 53,720 KB |
最終ジャッジ日時 | 2025-03-20 21:08:08 |
合計ジャッジ時間 | 2,584 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 37 |
ソースコード
import math a, b, c = map(int, input().split()) # Calculate the semi-perimeter s = (a + b + c) / 2.0 # Calculate the area using Heron's formula area = math.sqrt(s * (s - a) * (s - b) * (s - c)) # The expected area is 1/4 of the original area expected = area / 4.0 # Print with sufficient precision print("{0:.10f}".format(expected))