結果
| 問題 | No.841 8/32 | 
| コンテスト | |
| ユーザー |  | 
| 提出日時 | 2020-06-14 20:11:53 | 
| 言語 | OCaml (5.2.1) | 
| 結果 | 
                                AC
                                 
                             | 
| 実行時間 | 3 ms / 2,000 ms | 
| コード長 | 241 bytes | 
| コンパイル時間 | 264 ms | 
| コンパイル使用メモリ | 21,444 KB | 
| 実行使用メモリ | 5,248 KB | 
| 最終ジャッジ日時 | 2024-10-09 01:13:22 | 
| 合計ジャッジ時間 | 1,152 ms | 
| ジャッジサーバーID (参考情報) | judge2 / judge3 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| sample | AC * 3 | 
| other | AC * 21 | 
ソースコード
Scanf.scanf "%s %s" (fun s1 s2 ->
    let q = if s2 = "Sat" || s2 = "Sun" then 1 else 0 in
    let q = if s1 = "Sat" || s1 = "Sun" then q + 1 else 0 in
    print_endline @@ match q with
    | 2 -> "8/33"
    | 1 -> "8/32"
    | _ -> "8/31"
)
            
            
            
        