You are viewing a single comment's thread. Return to all comments →
n,m=(input().split(" ")) arr=set(list(input().split())) a=set(input().split()) b=set(input().split()) hap=0 plus = (len(arr)-len(arr.difference(a))) print(plus) minus = (len(arr)-len(arr.difference(b)))
can somebody tell me what is wrong here
can somebody tell me what is wrong here ? print(minus) print(hap+plus-minus)
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 →
n,m=(input().split(" ")) arr=set(list(input().split())) a=set(input().split()) b=set(input().split()) hap=0 plus = (len(arr)-len(arr.difference(a))) print(plus) minus = (len(arr)-len(arr.difference(b)))
can somebody tell me what is wrong here
can somebody tell me what is wrong here ? print(minus) print(hap+plus-minus)