Submission #50940562


Source Code Expand

fn main() {
    proconio::input! { s: [usize; 8]}

    let mut flag = true;

    for i in 0..6 {
        if s[i] % 25 != 0 {
            println!("No");
            flag = false;
            break;
        }
        if s[i] > s[i + 1] {
            println!("No");
            flag = false;
            break;
        }
        if s[i] < 100 || s[i] > 675 {
            println!("No");
            flag = false;
            break;
        }
    }
    if flag {
        println!("Yes");
    }
}

Submission Info

Submission Time
Task A - New Scheme
User raiga0310
Language Rust (rustc 1.70.0)
Score 100
Code Size 520 Byte
Status AC
Exec Time 1 ms
Memory 2096 KiB

Judge Result

Set Name Sample All
Score / Max Score 0 / 0 100 / 100
Status
AC × 3
AC × 20
Set Name Test Cases
Sample 00_sample_00.txt, 00_sample_01.txt, 00_sample_02.txt
All 00_sample_00.txt, 00_sample_01.txt, 00_sample_02.txt, 01_random_00.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, 01_random_10.txt, 01_random_11.txt, 01_random_12.txt, 02_handmade_00.txt, 02_handmade_01.txt, 02_handmade_02.txt, 02_handmade_03.txt
Case Name Status Exec Time Memory
00_sample_00.txt AC 1 ms 1864 KiB
00_sample_01.txt AC 1 ms 1876 KiB
00_sample_02.txt AC 1 ms 1988 KiB
01_random_00.txt AC 1 ms 1868 KiB
01_random_01.txt AC 1 ms 1940 KiB
01_random_02.txt AC 1 ms 1904 KiB
01_random_03.txt AC 1 ms 1984 KiB
01_random_04.txt AC 1 ms 1932 KiB
01_random_05.txt AC 1 ms 2080 KiB
01_random_06.txt AC 1 ms 1872 KiB
01_random_07.txt AC 1 ms 1808 KiB
01_random_08.txt AC 1 ms 2096 KiB
01_random_09.txt AC 1 ms 2076 KiB
01_random_10.txt AC 1 ms 1904 KiB
01_random_11.txt AC 0 ms 1984 KiB
01_random_12.txt AC 1 ms 1904 KiB
02_handmade_00.txt AC 1 ms 1904 KiB
02_handmade_01.txt AC 1 ms 1932 KiB
02_handmade_02.txt AC 1 ms 1944 KiB
02_handmade_03.txt AC 1 ms 1924 KiB