Buggy python submission (verdict: Time Limit Exceeded):
import sys
pos=input()
pos=pos.split()
N=int(pos[0])
P=int(pos[1])
T=int(pos[2])
point=[P]*N

for i in range(0,T):
    c=input()
    point=[p-1 for p in point]
    point[int(c)-1]+=1

for i in range(0,N):
    if(point[i]>0):
        print('Yes')
    else:
        print('No')

Fixed submission:
pos=input()
pos=pos.split()
N=int(pos[0])
P=int(pos[1])
T=int(pos[2])
point=[0]*N

for i in range(0,T):
    c=input()
    point[int(c)-1]+=1
point=[P-T+d for d in point]
for i in range(0,N):
    if(point[i]>0):
        print('Yes')
    else:
        print('No')

Buggy python submission (verdict: Runtime Error):
import sys
pos=input()
pos=pos.split()
N=int(pos[0])
P=int(pos[1])
T=int(pos[2])
point={P}*N

for i in range(0,T):
    c=input()
    point={p-1 for p in point}
    point{int(c)-1}+=1

for i in range(0,N):
    if(point{i}>0):
        print('Yes')
    else:
        print('No')

Fixed submission:
pos=input()
pos=pos.split()
N=int(pos[0])
P=int(pos[1])
T=int(pos[2])
point=[0]*N

for i in range(0,T):
    c=input()
    point[int(c)-1]+=1
point=[P-T+d for d in point]
for i in range(0,N):
    if(point[i]>0):
        print('Yes')
    else:
        print('No')

Buggy python submission (verdict: Time Limit Exceeded):
import sys
pos=input()
pos=pos.split()
N=int(pos[0])
P=int(pos[1])
T=int(pos[2])
point=[P]*N

for i in range(0,T):
    c=input()
    point=[p-1 for p in point]
    point[int(c)-1]+=1

for i in range(0,N):
    if(point[i]>0):
        print('Yes')
    else:
        print('No')

Fixed submission:
pos=input()
pos=pos.split()
N=int(pos[0])
P=int(pos[1])
T=int(pos[2])
point=[0]*N

for i in range(0,T):
    c=input()
    point[int(c)-1]+=1
point=[P-T+d for d in point]
for i in range(0,N):
    if(point[i]>0):
        print('Yes')
    else:
        print('No')

Buggy python submission (verdict: Time Limit Exceeded):
import sys
pos=input()
pos=pos.split()
N=int(pos[0])
P=int(pos[1])
T=int(pos[2])
point=[P]*N

for i in range(0,T):
    c=input()
    point=[p-1 for p in point]
    point[int(c)-1]+=1

for i in range(0,N):
    if(point[i]>0):
        print('Yes')
    else:
        print('No')

Fixed submission:
pos=input()
pos=pos.split()
N=int(pos[0])
P=int(pos[1])
T=int(pos[2])
point=[0]*N

for i in range(0,T):
    c=input()
    point[int(c)-1]+=1
point=[P-T+d for d in point]
for i in range(0,N):
    if(point[i]>0):
        print('Yes')
    else:
        print('No')

Buggy python submission (verdict: Time Limit Exceeded):
import sys
pos=input()
pos=pos.split()
N=int(pos[0])
P=int(pos[1])
T=int(pos[2])
point=[P]*N

for i in range(0,T):
    c=input()
    point=[p-1 for p in point]
    point[int(c)-1]+=1

for i in range(0,N):
    if(point[i]>0):
        print('Yes')
    else:
        print('No')

Fixed submission:
pos=input()
pos=pos.split()
N=int(pos[0])
P=int(pos[1])
T=int(pos[2])
point=[0]*N

for i in range(0,T):
    c=input()
    point[int(c)-1]+=1
point=[P-T+d for d in point]
for i in range(0,N):
    if(point[i]>0):
        print('Yes')
    else:
        print('No')

Buggy python submission (verdict: Time Limit Exceeded):
import sys
pos=input()
pos=pos.split()
N=int(pos[0])
P=int(pos[1])
T=int(pos[2])
point=[P]*N

for i in range(0,T):
    c=input()
    point=[p-1 for p in point]
    point[int(c)-1]+=1

for i in range(0,N):
    if(point[i]>0):
        print('Yes')
    else:
        print('No')

Fixed submission:
pos=input()
pos=pos.split()
N=int(pos[0])
P=int(pos[1])
T=int(pos[2])
point=[0]*N

for i in range(0,T):
    c=input()
    point[int(c)-1]+=1
point=[P-T+d for d in point]
for i in range(0,N):
    if(point[i]>0):
        print('Yes')
    else:
        print('No')