提出 #4122332


ソースコード 拡げる

let () =
  let max_seats (x, y, z) =
    int_of_float @@ (float_of_int (x - z)) /. (float_of_int (y + z))
  and input = Scanf.scanf "%d %d %d" (fun x y z -> (x, y, z))
  and println str = print_string (str ^ "\n")
  in
    println @@ string_of_int @@ max_seats input;;

提出情報

提出日時
問題 B - ISU
ユーザ nobita0918
言語 OCaml (4.02.3)
得点 200
コード長 276 Byte
結果 AC
実行時間 1 ms
メモリ 384 KiB

ジャッジ結果

セット名 Sample All
得点 / 配点 0 / 0 200 / 200
結果
AC × 5
AC × 17
セット名 テストケース
Sample example_0, example_1, example_2, example_3, example_4
All example_0, example_1, example_2, example_3, example_4, rand_0, rand_1, rand_10, rand_11, rand_2, rand_3, rand_4, rand_5, rand_6, rand_7, rand_8, rand_9
ケース名 結果 実行時間 メモリ
example_0 AC 1 ms 384 KiB
example_1 AC 1 ms 384 KiB
example_2 AC 1 ms 384 KiB
example_3 AC 1 ms 384 KiB
example_4 AC 1 ms 384 KiB
rand_0 AC 1 ms 384 KiB
rand_1 AC 1 ms 384 KiB
rand_10 AC 1 ms 384 KiB
rand_11 AC 1 ms 384 KiB
rand_2 AC 1 ms 384 KiB
rand_3 AC 1 ms 384 KiB
rand_4 AC 1 ms 384 KiB
rand_5 AC 1 ms 384 KiB
rand_6 AC 1 ms 384 KiB
rand_7 AC 1 ms 384 KiB
rand_8 AC 1 ms 384 KiB
rand_9 AC 1 ms 384 KiB