Submission #70591960


Source Code Expand

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" });
}

Submission Info

Submission Time
Task A - Candy Cookie Law
User hossie
Language Rust (rustc 1.89.0)
Score 100
Code Size 226 Byte
Status AC
Exec Time 1 ms
Memory 2108 KiB

Judge Result

Set Name Sample All
Score / Max Score 0 / 0 100 / 100
Status
AC × 3
AC × 12
Set Name Test Cases
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
Case Name Status Exec Time Memory
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