Submission #15416717


Source Code Expand

Copy
import sys

read = sys.stdin.buffer.read
readline = sys.stdin.buffer.readline
readlines = sys.stdin.buffer.readlines

N, K, *A = map(int, read().split())

for x, y in zip(A, A[K:]):
    print('Yes' if x < y else 'No')

Submission Info

Submission Time
Task C - Marks
User maspy
Language Python (3.8.2)
Score 300
Code Size 226 Byte
Status
Exec Time 133 ms
Memory 27888 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 21 ms 9020 KB
in02.txt 100 ms 27520 KB
in03.txt 103 ms 27572 KB
in04.txt 102 ms 27884 KB
in05.txt 100 ms 27808 KB
in06.txt 133 ms 27888 KB
in07.txt 131 ms 27568 KB
in08.txt 67 ms 27812 KB
in09.txt 70 ms 27568 KB
in10.txt 100 ms 27784 KB
in11.txt 101 ms 27684 KB
in12.txt 107 ms 27576 KB
in13.txt 132 ms 27784 KB
in14.txt 68 ms 27884 KB
in15.txt 67 ms 27568 KB
in16.txt 25 ms 8864 KB
in17.txt 23 ms 9020 KB
sample_01.txt 27 ms 9160 KB
sample_02.txt 24 ms 8872 KB
sample_03.txt 33 ms 9032 KB