Submission #7521200


Source Code Expand

Copy
N, K, Q = map(int, input().split())
score = [0]*N
for i in range(Q):
    A = int(input())
    score[A-1]+=1
for a in score:
    if K-(Q-a)>0:
        print('Yes')
    else:
        print('No')

Submission Info

Submission Time
Task C - Attack Survival
User masayoshi64
Language PyPy3 (2.4.0)
Score 300
Code Size 201 Byte
Status AC
Exec Time 623 ms
Memory 50904 KB

Judge Result

Set Name Sample Subtask1
Score / Max Score 0 / 0 300 / 300
Status
AC × 3
AC × 26
Set Name Test Cases
Sample sample_01.txt, sample_02.txt, sample_03.txt
Subtask1 sample_01.txt, sample_02.txt, sample_03.txt, sub1_01.txt, sub1_02.txt, sub1_03.txt, sub1_04.txt, sub1_05.txt, sub1_06.txt, sub1_07.txt, sub1_08.txt, sub1_09.txt, sub1_10.txt, sub1_11.txt, sub1_12.txt, sub1_13.txt, sub1_14.txt, sub1_15.txt, sub1_16.txt, sub1_17.txt, sub1_18.txt, sub1_19.txt, sub1_20.txt, sub1_21.txt, sub1_22.txt, sub1_23.txt
Case Name Status Exec Time Memory
sample_01.txt AC 189 ms 38256 KB
sample_02.txt AC 197 ms 38256 KB
sample_03.txt AC 195 ms 38256 KB
sub1_01.txt AC 623 ms 50520 KB
sub1_02.txt AC 432 ms 48344 KB
sub1_03.txt AC 553 ms 48984 KB
sub1_04.txt AC 422 ms 48728 KB
sub1_05.txt AC 301 ms 48728 KB
sub1_06.txt AC 542 ms 50904 KB
sub1_07.txt AC 555 ms 50648 KB
sub1_08.txt AC 408 ms 48728 KB
sub1_09.txt AC 545 ms 50008 KB
sub1_10.txt AC 528 ms 50008 KB
sub1_11.txt AC 545 ms 50392 KB
sub1_12.txt AC 597 ms 50008 KB
sub1_13.txt AC 297 ms 47576 KB
sub1_14.txt AC 415 ms 49368 KB
sub1_15.txt AC 584 ms 49112 KB
sub1_16.txt AC 613 ms 49112 KB
sub1_17.txt AC 550 ms 45912 KB
sub1_18.txt AC 377 ms 49752 KB
sub1_19.txt AC 592 ms 46296 KB
sub1_20.txt AC 369 ms 49624 KB
sub1_21.txt AC 581 ms 46788 KB
sub1_22.txt AC 516 ms 48344 KB
sub1_23.txt AC 247 ms 40432 KB