結果
| 問題 | No.892 タピオカ |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2020-05-03 22:21:07 |
| 言語 | OCaml (5.5.0) |
| 結果 |
WA
不安定
|
| 実行時間 | - |
| コード長 | 276 bytes |
| 記録 | |
| コンパイル時間 | 129 ms |
| コンパイル使用メモリ | 22,820 KB |
| 実行使用メモリ | 6,528 KB |
| 最終ジャッジ日時 | 2026-09-12 07:34:16 |
| 合計ジャッジ時間 | 1,099 ms |
|
ジャッジサーバーID (参考情報) |
judge2_0 / judge1_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 1 WA * 2 |
| other | AC * 3 WA * 3 |
コンパイルメッセージ
ocamlfind: [WARNING] Cannot read directory ./stublibs which is mentioned in ld.conf
ソースコード
let iof = int_of_float
let a1, b1, a2, b2, a3, b3 =
Scanf.scanf "%f %f %f %f %f %f\n" @@ fun a b c d e f -> a, b, c, d, e, f
let x1, x2, x3 = (iof (a1**b1)) mod 2,(iof (a2**b2)) mod 2, (iof (a3**b3)) mod 2
let () = print_endline (if x1+x2+x3 mod 2 = 1 then ":-)" else ":-(")