You are viewing a single comment's thread. Return to all comments →
Updated one for python 3!!!
n, m = input().split() arr = input().split() A = set(input().split()) B = set(input().split()) print(sum([(i in A) - (i in B) for i in arr]))
n, m = input().split()
arr = input().split()
A = set(input().split())
B = set(input().split())
print(sum([(i in A) - (i in B) for i in arr]))
Seems like cookies are disabled on this browser, please enable them to open this website
No Idea!
You are viewing a single comment's thread. Return to all comments →
Updated one for python 3!!!