提出 #15797289


ソースコード 拡げる

use proconio::input;

fn main() {
    input! {
        a: i64,
        b: i64,
    };
    let mut found = false;
    for c in 1..=3 {
        if a * b * c % 2 != 0 {
            found = true;
        }
    }
    let ans = found;
    println!("{}", if ans { "Yes" } else { "No" });
}

提出情報

提出日時
問題 A - ABC333
ユーザ bouzuya
言語 Rust (1.42.0)
得点 100
コード長 283 Byte
結果 AC
実行時間 7 ms
メモリ 2144 KiB

ジャッジ結果

セット名 All Sample
得点 / 配点 100 / 100 0 / 0
結果
AC × 9
AC × 3
セット名 テストケース
All sample_01, sample_02, sample_03, testcase0, testcase1, testcase2, testcase3, testcase4, testcase5
Sample sample_01, sample_02, sample_03
ケース名 結果 実行時間 メモリ
sample_01 AC 7 ms 2144 KiB
sample_02 AC 1 ms 1944 KiB
sample_03 AC 1 ms 2060 KiB
testcase0 AC 1 ms 2028 KiB
testcase1 AC 1 ms 1968 KiB
testcase2 AC 2 ms 1980 KiB
testcase3 AC 1 ms 2012 KiB
testcase4 AC 2 ms 2032 KiB
testcase5 AC 2 ms 1980 KiB