Submission #7527048


Source Code Expand

Copy
from collections import Counter

N, K, Q = map(int, input().split())
A = list(int(input()) for i in range(Q))
c = Counter(A)
for i in range(N):
    if Q - c[i + 1] < K:
        print("Yes")
    else:
        print("No")

Submission Info

Submission Time
Task C - Attack Survival
User riceplace
Language PyPy3 (2.4.0)
Score 300
Code Size 230 Byte
Status AC
Exec Time 605 ms
Memory 60120 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 177 ms 38256 KB
sample_02.txt AC 174 ms 38256 KB
sample_03.txt AC 199 ms 38256 KB
sub1_01.txt AC 592 ms 59608 KB
sub1_02.txt AC 422 ms 54232 KB
sub1_03.txt AC 549 ms 60120 KB
sub1_04.txt AC 419 ms 55000 KB
sub1_05.txt AC 324 ms 49496 KB
sub1_06.txt AC 526 ms 56620 KB
sub1_07.txt AC 523 ms 55640 KB
sub1_08.txt AC 357 ms 48856 KB
sub1_09.txt AC 525 ms 55128 KB
sub1_10.txt AC 500 ms 54104 KB
sub1_11.txt AC 555 ms 55512 KB
sub1_12.txt AC 605 ms 57304 KB
sub1_13.txt AC 247 ms 44632 KB
sub1_14.txt AC 391 ms 51672 KB
sub1_15.txt AC 573 ms 55128 KB
sub1_16.txt AC 584 ms 55384 KB
sub1_17.txt AC 532 ms 53336 KB
sub1_18.txt AC 318 ms 48216 KB
sub1_19.txt AC 546 ms 55256 KB
sub1_20.txt AC 347 ms 51416 KB
sub1_21.txt AC 550 ms 54744 KB
sub1_22.txt AC 493 ms 57304 KB
sub1_23.txt AC 224 ms 40560 KB