結果
| 問題 | No.1487 ぺんぎんさんかっけー | 
| コンテスト | |
| ユーザー |  magsta | 
| 提出日時 | 2021-03-30 11:27:40 | 
| 言語 | C++14 (gcc 13.3.0 + boost 1.87.0) | 
| 結果 | 
                                AC
                                 
                             | 
| 実行時間 | 2 ms / 1,000 ms | 
| コード長 | 447 bytes | 
| コンパイル時間 | 1,065 ms | 
| コンパイル使用メモリ | 91,996 KB | 
| 実行使用メモリ | 5,248 KB | 
| 最終ジャッジ日時 | 2024-11-30 08:38:17 | 
| 合計ジャッジ時間 | 2,354 ms | 
| ジャッジサーバーID (参考情報) | judge4 / judge3 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| other | AC * 37 | 
ソースコード
#include <iostream>
#include <string>
#include <algorithm>
#include <utility>
#include <cmath>
#include <cstdlib>
#include <map>
#include <set>
#include <queue>
#include <vector>
#include <iomanip>
#include <limits>
using namespace std;
int main() {
	long double a, b, c; cin >> a >> b >> c;
	long double s = (a + b + c) / 2;
	long double ans = s * (s - a) * (s - b) * (s - c);
	cout << fixed << setprecision(7);
	cout << sqrt(ans) / 4 << endl;
}
            
            
            
        