結果

問題 No.735 接線
ユーザー cra77756176
提出日時 2022-12-22 19:52:33
言語 Rust
(1.83.0 + proconio)
結果
AC  
実行時間 1 ms / 2,000 ms
コード長 235 bytes
コンパイル時間 14,534 ms
コンパイル使用メモリ 379,580 KB
実行使用メモリ 5,248 KB
最終ジャッジ日時 2024-11-18 03:25:15
合計ジャッジ時間 11,538 ms
ジャッジサーバーID
(参考情報)
judge1 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 30
権限があれば一括ダウンロードができます

ソースコード

diff #

fn main() {
    let mut xx = String::new();
    std::io::stdin().read_line(&mut xx).ok();
    let xx: Vec<f64> = xx.split_whitespace().flat_map(str::parse).collect();

    println!("{}", xx[1].mul_add(xx[1], -xx[0].powi(2)).sqrt());
}
0