結果
問題 |
No.46 はじめのn歩
|
ユーザー |
![]() |
提出日時 | 2017-08-09 12:32:27 |
言語 | OCaml (5.2.1) |
結果 |
WA
|
実行時間 | - |
コード長 | 178 bytes |
コンパイル時間 | 379 ms |
コンパイル使用メモリ | 21,572 KB |
実行使用メモリ | 6,824 KB |
最終ジャッジ日時 | 2024-10-09 00:04:28 |
合計ジャッジ時間 | 2,076 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 5 WA * 5 |
ソースコード
let () = let a, b = Scanf.scanf "%d %d " (fun a b -> a, b) in let rec doit d cnt = if d > b then cnt else doit (d + a) (cnt + 1) in doit 0 0 |> Printf.printf "%d\n"