結果

問題 No.841 8/32
ユーザー cra77756176cra77756176
提出日時 2022-12-18 20:33:05
言語 Rust
(1.83.0 + proconio)
結果
AC  
実行時間 1 ms / 2,000 ms
コード長 322 bytes
コンパイル時間 9,902 ms
コンパイル使用メモリ 407,468 KB
実行使用メモリ 6,824 KB
最終ジャッジ日時 2024-11-17 23:54:24
合計ジャッジ時間 11,447 ms
ジャッジサーバーID
(参考情報)
judge5 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 21
権限があれば一括ダウンロードができます

ソースコード

diff #

fn main() {
    let mut xx = String::new();
    std::io::stdin().read_line(&mut xx).ok();
    let xx: Vec<&str> = xx.split_whitespace().collect();

    match (xx[0], xx[1]) {
        ("Sat" | "Sun", "Sat" | "Sun") => println!("8/33"),
        ("Sat" | "Sun", _) => println!("8/32"),
        _ => println!("8/31"),
    }
}
0