Submission #15422909


Source Code Expand

Copy
use proconio::input;

fn main() {
    input! {
        n: usize,
        k: usize,
        a: [i64; n],
    };
    for i in k..n {
        let ans = a[i - k] < a[i];
        println!("{}", if ans { "Yes" } else { "No" });
    }
}

Submission Info

Submission Time
Task C - Marks
User bouzuya
Language Rust (1.42.0)
Score 300
Code Size 230 Byte
Status
Exec Time 286 ms
Memory 5532 KB

Judge Result

Set Name Score / Max Score Test Cases
Sample 0 / 0 sample_01.txt, sample_02.txt, sample_03.txt
All 300 / 300 in01.txt, in02.txt, in03.txt, in04.txt, in05.txt, in06.txt, in07.txt, in08.txt, in09.txt, in10.txt, in11.txt, in12.txt, in13.txt, in14.txt, in15.txt, in16.txt, in17.txt, sample_01.txt, sample_02.txt, sample_03.txt
Case Name Status Exec Time Memory
in01.txt 7 ms 2104 KB
in02.txt 160 ms 5412 KB
in03.txt 154 ms 5296 KB
in04.txt 155 ms 5340 KB
in05.txt 154 ms 5348 KB
in06.txt 286 ms 5328 KB
in07.txt 281 ms 5368 KB
in08.txt 19 ms 5284 KB
in09.txt 22 ms 5296 KB
in10.txt 155 ms 5316 KB
in11.txt 153 ms 5284 KB
in12.txt 173 ms 5440 KB
in13.txt 280 ms 5532 KB
in14.txt 22 ms 5500 KB
in15.txt 21 ms 5436 KB
in16.txt 2 ms 1996 KB
in17.txt 2 ms 2028 KB
sample_01.txt 1 ms 1976 KB
sample_02.txt 2 ms 2012 KB
sample_03.txt 1 ms 2036 KB