You are viewing a single comment's thread. Return to all comments →
n, m = list(map(int, input().split())) ints = list(map(int, input().split())) a = set(list(map(int, input().split()))) b = set(list(map(int, input().split()))) h = 0 for i in ints: if i in a: h += 1 elif i in b: h -= 1 print(h)
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 →