結果
| 問題 | No.841 8/32 |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2019-06-28 22:11:32 |
| 言語 | OCaml (5.4.1) |
| 結果 |
AC
|
| 実行時間 | 2 ms / 2,000 ms |
| コード長 | 167 bytes |
| 記録 | |
| コンパイル時間 | 312 ms |
| コンパイル使用メモリ | 22,796 KB |
| 実行使用メモリ | 6,400 KB |
| 最終ジャッジ日時 | 2026-04-25 04:44:22 |
| 合計ジャッジ時間 | 1,781 ms |
|
ジャッジサーバーID (参考情報) |
judge2_0 / judge1_1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| 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";;