結果

問題 No.1129 Rating じゃんけん
ユーザー xsd
提出日時 2020-08-15 12:39:58
言語 OCaml
(5.2.1)
結果
AC  
実行時間 3 ms / 2,000 ms
コード長 239 bytes
コンパイル時間 294 ms
コンパイル使用メモリ 21,572 KB
実行使用メモリ 5,248 KB
最終ジャッジ日時 2024-10-09 01:58:18
合計ジャッジ時間 1,189 ms
ジャッジサーバーID
(参考情報)
judge2 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2
other AC * 16
権限があれば一括ダウンロードができます

ソースコード

diff #

Scanf.scanf "%d %d %d %d" (fun a b c d ->
    print_endline @@
        if a > c then "null" else
        if a < c then "tRue" else
        if (d - b + 3) mod 3 = 1 then "null" else
        if (d - b + 3) mod 3 = 2 then "tRue" else "Draw"
)
0