You are viewing a single comment's thread. Return to all comments →
I am not sure why it is in medium level.. I realised it after I got 50 points: I solved it very easily(unsure if i did it correctly as I am new)
Here is my solution:
arr=list(map(int, input().split())) arr=arr[:n] a=set(map(int, input().split())) b=set(map(int, input().split())) h=0 for i in arr: 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 →
I am not sure why it is in medium level.. I realised it after I got 50 points: I solved it very easily(unsure if i did it correctly as I am new)
Here is my solution:
`