← Back to List

21679번: Клавиатура ↗

Solutions

Python 3
153 B | 153 chars
input()
mx = [*map(int, input().split())]
input()
for i in [*map(int, input().split())]:
  mx[i - 1] -= 1
for i in mx:
  print("yes" if i < 0 else "no")