You are viewing a single comment's thread. Return to all comments →
n, m= input().split() arr= input().split() A= set(input().split()) B= set(input().split()) Score_A= len([element for element in arr if element in A]) Score_B= len([element for element in arr if element in B]) total_happiness= Score_A - Score_B print(total_happiness)
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 →