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