結果
| 問題 |
No.3151 natural math of inscribed circle
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2025-05-21 21:00:21 |
| 言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
AC
|
| 実行時間 | 3 ms / 2,000 ms |
| コード長 | 235 bytes |
| コンパイル時間 | 2,187 ms |
| コンパイル使用メモリ | 193,128 KB |
| 実行使用メモリ | 6,272 KB |
| 最終ジャッジ日時 | 2025-06-20 03:02:31 |
| 合計ジャッジ時間 | 2,931 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 41 |
ソースコード
#include<bits/stdc++.h>
#define int long long
#define double long double
using namespace std;
signed main(){
double a,b,c;cin>>a>>b>>c;
double s=(a+b+c)/2;
cout<<fixed<<setprecision(18)<<sqrt(s*(s-a)*(s-b)*(s-c))/s<<endl;
}