Problem p02911 (python)

Fixed submission:
import numpy as np

n, k, q = map(int, input().split())
a = np.array([int(input()) for i in range(q)])

players_score = np.full(n, k-q)

for item in a:
    players_score[item-1] += 1

for i in players_score:
    if i <= 0:
        print("No")
    else:
        print("Yes")

Buggy submission (verdict: Runtime Error):
import numpy as np

n, k, q = map(int, input().split())
a = np.array([int(input()) for i in range(q)])

players_score = np.array([k for i in range(n)])
for item in a:
    players_score -= 1
    players_score[item-1] += 1

for i in players_score:
    if i <= 0:
        print("No")
    else:
        print("Yes")

Buggy submission (verdict: Runtime Error):
import numpy as np

n, k, q = map(int, input().split())
a = [int(input()) for i in range(q)]

players_score = np.array([k for i in range(n)])
for item in a:
    players_score -= 1
    players_score[item-1] += 1

for i in players_score:
    if i <= 0:
        print("No")
    else:
        print("Yes")

Buggy submission (verdict: Runtime Error):
import numpy as np

n, k, q = map(int, input().split())
a = [int(input()) for i in range(q)]

players_score = np.array([k for i in range(n)])
for item in a:
    players_score -= 1
    players_score[item-1] += 1

indict = ['No' if i <= 0 else 'Yes' for i in players_score ]

for i in indict:
    print(i)

Buggy submission (verdict: Runtime Error):
import numpy as np

n, k, q = map(int, input().split())
a = []
for i in range(q):
    a.append(int(input()))

players_score = np.array([k for i in range(n)])
for item in a:
    players_score -= 1
    players_score[item-1] += 1

indict = ['No' if i <= 0 else 'Yes' for i in players_score ]

for i in indict:
    print(i)

Buggy submission (verdict: Runtime Error):
N, K, Q = map(int, input())
A = list(map(int, input().split))

players_score = np.array([k for i in range(n)])
for item in a:
    players_score -= 1
    players_score[item-1] += 1

indict = ['No' if i <= 0 else 'Yes' for i in players_score ]
for i in indict:
    print(i)

Buggy submission (verdict: Runtime Error):
import numpy as np

N, K, Q = map(int, input())
A = list(map(int, input().split))

players_score = np.array([k for i in range(n)])
for item in a:
    players_score -= 1
    players_score[item-1] += 1

indict = ['No' if i <= 0 else 'Yes' for i in players_score ]
for i in indict:
    print(i)

Buggy submission (verdict: Runtime Error):
import numpy as np

N, K, Q = map(int, input())
A = list(map(int, input().split))

players_score = np.array([k for i in range(n)])
for item in a:
    players_score -= 1
    players_score[item-1] += 1

indict = ['No' if i <= 0 else 'Yes' for i in players_score ]
for i in indict:
    print(i)

Buggy submission (verdict: Runtime Error):
import numpy as np

N, K, Q = map(int, input())
A = list(map(int,input().split()))

players_score = np.array([k for i in range(k)])
# correct_ans = np.array([1 for i in range(q)])
for item in a:
    players_score -= 1
    players_score[item-1] += 1

indict = ['No' if i <= 0 else 'Yes' for i in players_score ]
for i in indict:
    print(i)

Buggy submission (verdict: Runtime Error):
N, K, Q = map(int,input())
A = list(map(int,input().split()))

import numpy as np

players_score = np.array([k for i in range(k)])
for item in a:
    players_score -= 1
    players_score[item-1] += 1

indict = ['No' if i <= 0 else 'Yes' for i in players_score ]
for i in indict:
    print(i)

Buggy submission (verdict: Runtime Error):
N, K, Q = map(int,input())
A = list(map(int,input().split()))

players_score = np.array([k for i in range(k)])
for item in a:
    players_score -= 1
    players_score[item-1] += 1

indict = ['No' if i <= 0 else 'Yes' for i in players_score ]
for i in indict:
    print(i)