add 1920.py & complete 1259.py

This commit is contained in:
yenru0
2021-02-13 19:46:00 +09:00
parent 129a734bf9
commit f4f2dfd1f6
2 changed files with 19 additions and 0 deletions

10
zeta_python/1920.py Normal file
View File

@@ -0,0 +1,10 @@
N = int(input())
A = list(map(int, input().split()))
M = int(input())
K = list(map(int, input().split()))
for k in K:
if k in A:
print(1)
else:
print(0)