結果
| 問題 | No.889 素数! |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2020-06-21 11:16:18 |
| 言語 | OCaml (5.5.0) |
| 結果 |
AC
不安定
|
| 実行時間 | 1 ms / 2,000 ms |
| + 297µs | |
| コード長 | 397 bytes |
| 記録 | |
| コンパイル時間 | 136 ms |
| コンパイル使用メモリ | 22,564 KB |
| 実行使用メモリ | 6,528 KB |
| 最終ジャッジ日時 | 2026-09-12 07:46:01 |
| 合計ジャッジ時間 | 2,959 ms |
|
ジャッジサーバーID (参考情報) |
judge2_0 / judge1_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 61 |
コンパイルメッセージ
ocamlfind: [WARNING] Cannot read directory ./stublibs which is mentioned in ld.conf
ソースコード
Scanf.scanf "%d" (fun n ->
print_endline @@ match n with
| 6
| 28 -> "Kanzensu!"
| 8
| 27
| 64 -> "Ripposu!"
| 4
| 9
| 16
| 25
| 36
| 49 -> "Heihosu!"
| 2
| 3
| 5
| 7
| 11
| 13
| 17
| 19
| 23
| 29
| 31
| 37
| 41
| 43
| 47
| 53
| 59
| 61 -> "Sosu!"
| _ -> string_of_int n
)