結果
| 問題 | No.1487 ぺんぎんさんかっけー |
| コンテスト | |
| ユーザー |
chacoder1
|
| 提出日時 | 2021-05-03 19:50:27 |
| 言語 | C++17 (gcc 15.2.0 + boost 1.90.0) |
| 結果 |
AC
|
| 実行時間 | 2 ms / 1,000 ms |
| コード長 | 276 bytes |
| 記録 | |
| コンパイル時間 | 1,892 ms |
| コンパイル使用メモリ | 208,352 KB |
| 実行使用メモリ | 6,400 KB |
| 最終ジャッジ日時 | 2026-06-20 04:00:50 |
| 合計ジャッジ時間 | 3,168 ms |
|
ジャッジサーバーID (参考情報) |
judge2_0 / judge3_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 37 |
ソースコード
#include <bits/stdc++.h>
using namespace std;
typedef long long ll;
#define rep(i,n) for(int i=0;i<n;i++)
#define int long long
signed main(void) {
double a,b,c;
cin>>a>>b>>c;
double s=(a+b+c)/2;
cout<<setprecision(18)<<sqrt(s*(s-a)*(s-b)*(s-c))*.25<<endl;
}
chacoder1