結果
問題 |
No.841 8/32
|
ユーザー |
|
提出日時 | 2019-06-28 22:11:32 |
言語 | OCaml (5.2.1) |
結果 |
AC
|
実行時間 | 3 ms / 2,000 ms |
コード長 | 167 bytes |
コンパイル時間 | 274 ms |
コンパイル使用メモリ | 21,448 KB |
実行使用メモリ | 5,248 KB |
最終ジャッジ日時 | 2024-10-09 00:45:01 |
合計ジャッジ時間 | 1,093 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 21 |
ソースコード
let a, b = Scanf.scanf "%s %s" (fun x y -> x, y);; let f s = s = "Sun" || s = "Sat";; print_endline @@ if f a && f b then "8/33" else if f a then "8/32" else "8/31";;