結果
問題 |
No.1047 Zero (Novice)
|
ユーザー |
|
提出日時 | 2020-06-21 13:28:21 |
言語 | OCaml (5.2.1) |
結果 |
AC
|
実行時間 | 2 ms / 2,000 ms |
コード長 | 124 bytes |
コンパイル時間 | 400 ms |
コンパイル使用メモリ | 21,704 KB |
実行使用メモリ | 5,248 KB |
最終ジャッジ日時 | 2024-10-09 01:36:26 |
合計ジャッジ時間 | 1,292 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 17 |
ソースコード
Scanf.scanf "%d %d" (fun a b -> Printf.printf "%d\n" @@ if b = 0 then 1 else if a = -1 then 2 else -1 )