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