結果
問題 | No.773 コンテスト |
ユーザー |
|
提出日時 | 2019-06-10 20:06:09 |
言語 | OCaml (5.2.1) |
結果 |
AC
|
実行時間 | 2 ms / 2,000 ms |
コード長 | 306 bytes |
コンパイル時間 | 423 ms |
コンパイル使用メモリ | 21,704 KB |
実行使用メモリ | 5,248 KB |
最終ジャッジ日時 | 2024-10-09 00:42:55 |
合計ジャッジ時間 | 1,189 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 21 |
ソースコード
let () =let rec make_lst a b = if a = b then [a] else a :: make_lst (a+1) b inlet a, b = Scanf.scanf "%d %d\n" (fun x y -> x, y) inlet lst = make_lst a b inlet ans = List.length (List.filter (fun x -> x = false) [List.mem 23 lst; List.mem 24 lst; List.mem 25 lst]) inPrintf.printf "%d\n" ans