提出 #70591960


ソースコード 拡げる

use proconio::input;

fn main() {
    input! {
        a: usize,
        b: usize,
        c: usize,
        d: usize,
    }
    let yes = c >= a && !(d >= b);
    println!("{}", if yes { "Yes" } else { "No" });
}

提出情報

提出日時
問題 A - Candy Cookie Law
ユーザ hossie
言語 Rust (rustc 1.89.0)
得点 100
コード長 226 Byte
結果 AC
実行時間 1 ms
メモリ 2108 KiB

ジャッジ結果

セット名 Sample All
得点 / 配点 0 / 0 100 / 100
結果
AC × 3
AC × 12
セット名 テストケース
Sample sample_01.txt, sample_02.txt, sample_03.txt
All random_01.txt, random_02.txt, random_03.txt, random_04.txt, random_05.txt, random_06.txt, random_07.txt, random_08.txt, random_09.txt, sample_01.txt, sample_02.txt, sample_03.txt
ケース名 結果 実行時間 メモリ
random_01.txt AC 0 ms 1836 KiB
random_02.txt AC 0 ms 1952 KiB
random_03.txt AC 0 ms 1976 KiB
random_04.txt AC 0 ms 1956 KiB
random_05.txt AC 0 ms 2032 KiB
random_06.txt AC 1 ms 1872 KiB
random_07.txt AC 0 ms 2000 KiB
random_08.txt AC 0 ms 1872 KiB
random_09.txt AC 0 ms 1956 KiB
sample_01.txt AC 0 ms 2108 KiB
sample_02.txt AC 0 ms 1848 KiB
sample_03.txt AC 0 ms 1836 KiB