Submission #48846348


Source Code Expand

use proconio::input;

fn main() {
    input! {
        m: usize,
    };
    let ans = (4..=9).contains(&m);
    println!("{}", if ans { "Yes" } else { "No" });
}

Submission Info

Submission Time
Task A - swallow
User bouzuya
Language Rust (rustc 1.70.0)
Score 9
Code Size 162 Byte
Status AC
Exec Time 1 ms
Memory 2096 KiB

Judge Result

Set Name Sample All
Score / Max Score 0 / 0 9 / 9
Status
AC × 3
AC × 12
Set Name Test Cases
Sample 00_sample_01.txt, 00_sample_02.txt, 00_sample_03.txt
All 00_sample_01.txt, 00_sample_02.txt, 00_sample_03.txt, 01_random_01.txt, 01_random_02.txt, 01_random_03.txt, 01_random_04.txt, 01_random_05.txt, 01_random_06.txt, 01_random_07.txt, 01_random_08.txt, 01_random_09.txt
Case Name Status Exec Time Memory
00_sample_01.txt AC 1 ms 1932 KiB
00_sample_02.txt AC 1 ms 2036 KiB
00_sample_03.txt AC 1 ms 2072 KiB
01_random_01.txt AC 1 ms 1940 KiB
01_random_02.txt AC 1 ms 1816 KiB
01_random_03.txt AC 1 ms 1988 KiB
01_random_04.txt AC 1 ms 1984 KiB
01_random_05.txt AC 1 ms 1984 KiB
01_random_06.txt AC 1 ms 1940 KiB
01_random_07.txt AC 1 ms 1744 KiB
01_random_08.txt AC 1 ms 1812 KiB
01_random_09.txt AC 1 ms 2096 KiB