You are viewing a single comment's thread. Return to all comments →
One-liner:
n, m = input().split() X = list(input().split()) A = set(input().split()) B = set(input().split()) print(sum([1 if x in A else -1 if x in B else 0 for x in X]))
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 →
One-liner: