結果

問題 No.3151 natural math of inscribed circle
ユーザー lp_ql
提出日時 2025-05-20 23:19:13
言語 Rust
(1.83.0 + proconio)
結果
AC  
実行時間 1 ms / 2,000 ms
コード長 204 bytes
コンパイル時間 13,881 ms
コンパイル使用メモリ 377,216 KB
実行使用メモリ 7,844 KB
最終ジャッジ日時 2025-06-20 03:02:08
合計ジャッジ時間 13,040 ms
ジャッジサーバーID
(参考情報)
judge5 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2
other AC * 41
権限があれば一括ダウンロードができます

ソースコード

diff #

use proconio::input;
fn main() {
    input!{
        a: f64,
        b: f64,
        c: f64
    }
    let s = (a + b + c) / 2.0;
    let ss = (s*(s-a)*(s-b)*(s-c)).sqrt();
    println!("{:.15}", ss / s)
}
0