結果

問題 No.1175 Simultaneous Equations
ユーザー xsd
提出日時 2020-08-22 03:18:01
言語 OCaml
(5.2.1)
結果
AC  
実行時間 3 ms / 2,000 ms
コード長 199 bytes
コンパイル時間 397 ms
コンパイル使用メモリ 21,444 KB
実行使用メモリ 5,248 KB
最終ジャッジ日時 2024-10-09 02:01:27
合計ジャッジ時間 1,284 ms
ジャッジサーバーID
(参考情報)
judge4 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2
other AC * 11
権限があれば一括ダウンロードができます

ソースコード

diff #

Scanf.scanf "%f %f %f %f %f %f" (fun a b c d e f ->
    let x = (b *. f -. c *. e) /.(b *. d -. a *. e) in
    let y = (c *. d -. a *. f) /.(b *. d -. a *. e) in
    Printf.printf "%.5f %.5f\n" x y
)
0