結果
問題 |
No.892 タピオカ
|
ユーザー |
|
提出日時 | 2020-06-06 18:28:36 |
言語 | OCaml (5.2.1) |
結果 |
WA
|
実行時間 | - |
コード長 | 275 bytes |
コンパイル時間 | 476 ms |
コンパイル使用メモリ | 21,448 KB |
実行使用メモリ | 6,820 KB |
最終ジャッジ日時 | 2024-10-09 01:01:16 |
合計ジャッジ時間 | 809 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 3 WA * 3 |
ソースコード
(* mod と + のカッコ具合... *) let iof = int_of_float let () = Scanf.scanf "%f %f %f %f %f %f\n" @@ fun a b c d e f -> let x1, x2, x3 = (iof (a**b)) mod 2,(iof (c**d)) mod 2, (iof (e**f)) mod 2 in print_endline (if (x1+x2+x3) mod 2 = 0 then ":-)" else ":-(")