結果
| 問題 | No.3151 natural math of  inscribed circle | 
| コンテスト | |
| ユーザー |  a01sa01to | 
| 提出日時 | 2025-05-23 00:25:12 | 
| 言語 | C++23 (gcc 13.3.0 + boost 1.87.0) | 
| 結果 | 
                                WA
                                 
                             | 
| 実行時間 | - | 
| コード長 | 511 bytes | 
| コンパイル時間 | 3,506 ms | 
| コンパイル使用メモリ | 276,900 KB | 
| 実行使用メモリ | 7,848 KB | 
| 最終ジャッジ日時 | 2025-05-23 00:25:18 | 
| 合計ジャッジ時間 | 5,327 ms | 
| ジャッジサーバーID (参考情報) | judge5 / judge3 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| sample | AC * 2 | 
| other | WA * 40 | 
ソースコード
#include <bits/stdc++.h>
using namespace std;
#ifdef LOCAL
  #include "settings/debug.cpp"
#else
  #define Debug(...) void(0)
#endif
#define rep(i, n) for (int i = 0; i < (n); ++i)
using ll = long long;
using ull = unsigned long long;
int main() {
  cin.tie(nullptr)->sync_with_stdio(false);
  int a, b, c;
  cin >> a >> b >> c;
  long double v = (a + b + c) / 2;
  long double s = sqrt(v * (v - a) * (v - b) * (v - c));
  long double r = s / v;
  cout << fixed << setprecision(15) << r << '\n';
  return 0;
}
            
            
            
        