Submission #7525586


Source Code Expand

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

Submission Info

Submission Time
Task C - Attack Survival
User riceplace
Language PyPy3 (2.4.0)
Score 0
Code Size 185 Byte
Status TLE
Exec Time 2106 ms
Memory 51240 KB

Judge Result

Set Name Sample Subtask1
Score / Max Score 0 / 0 0 / 300
Status
AC × 3
AC × 5
TLE × 21
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 165 ms 38256 KB
sample_02.txt AC 165 ms 38256 KB
sample_03.txt AC 162 ms 38256 KB
sub1_01.txt TLE 2106 ms 48984 KB
sub1_02.txt TLE 2106 ms 45400 KB
sub1_03.txt TLE 2106 ms 48216 KB
sub1_04.txt TLE 2105 ms 46856 KB
sub1_05.txt TLE 2106 ms 47192 KB
sub1_06.txt TLE 2106 ms 47576 KB
sub1_07.txt TLE 2106 ms 47576 KB
sub1_08.txt TLE 2105 ms 46280 KB
sub1_09.txt TLE 2106 ms 47576 KB
sub1_10.txt TLE 2106 ms 46936 KB
sub1_11.txt TLE 2106 ms 48216 KB
sub1_12.txt TLE 2106 ms 48984 KB
sub1_13.txt AC 754 ms 48088 KB
sub1_14.txt TLE 2105 ms 46840 KB
sub1_15.txt TLE 2106 ms 49112 KB
sub1_16.txt TLE 2106 ms 49112 KB
sub1_17.txt TLE 2106 ms 49112 KB
sub1_18.txt TLE 2106 ms 45656 KB
sub1_19.txt TLE 2105 ms 51240 KB
sub1_20.txt TLE 2106 ms 45656 KB
sub1_21.txt TLE 2106 ms 49112 KB
sub1_22.txt TLE 2106 ms 46296 KB
sub1_23.txt AC 252 ms 40560 KB