結果
問題 |
No.481 1から10
|
ユーザー |
![]() |
提出日時 | 2017-08-09 18:54:09 |
言語 | OCaml (5.2.1) |
結果 |
AC
|
実行時間 | 2 ms / 2,000 ms |
コード長 | 145 bytes |
コンパイル時間 | 432 ms |
コンパイル使用メモリ | 21,576 KB |
実行使用メモリ | 5,248 KB |
最終ジャッジ日時 | 2024-10-09 00:06:11 |
合計ジャッジ時間 | 1,162 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 |
other | AC * 8 |
ソースコード
let () = let rec doit i = if i = 10 || i <> Scanf.scanf "%d " (fun i -> i) then i else doit (i + 1) in doit 1 |> Printf.printf "%d\n"