結果

問題 No.2050 Speed
ユーザー taisuketaisuke
提出日時 2022-10-15 15:15:28
言語 Rust
(1.77.0)
結果
WA  
実行時間 -
コード長 456 bytes
コンパイル時間 788 ms
コンパイル使用メモリ 132,456 KB
実行使用メモリ 4,500 KB
最終ジャッジ日時 2023-09-09 02:39:48
合計ジャッジ時間 1,677 ms
ジャッジサーバーID
(参考情報)
judge13 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 1 ms
4,380 KB
testcase_01 WA -
testcase_02 WA -
testcase_03 WA -
testcase_04 WA -
testcase_05 AC 1 ms
4,380 KB
testcase_06 AC 1 ms
4,380 KB
testcase_07 WA -
testcase_08 AC 1 ms
4,380 KB
testcase_09 AC 1 ms
4,384 KB
testcase_10 AC 1 ms
4,380 KB
testcase_11 AC 1 ms
4,380 KB
testcase_12 WA -
testcase_13 WA -
testcase_14 WA -
testcase_15 WA -
testcase_16 WA -
権限があれば一括ダウンロードができます

ソースコード

diff #

fn main() {
    let mut input = String::new();
    std::io::stdin().read_line(&mut input).unwrap();
    let mut iter = input.split_whitespace();
    let a: i32 = iter.next().unwrap().parse().unwrap();
    let b: i32 = iter.next().unwrap().parse().unwrap();
    let a_per_minute = a * 60 * 60;

    if a_per_minute < b {
        println!("blackyuki");
    } else if b < a_per_minute {
        println!("KoD");
    } else {
        println!("same");
    }
}
0