You are viewing a single comment's thread. Return to all comments →
a=set(map(int,input().split())) n=int(input()) count=0 for i in range(n): s=set(map(int,input().split())) if(s-a==set() and len(s)<len(a)): count+=1 if count==n: print("True") else: print('False')
Seems like cookies are disabled on this browser, please enable them to open this website
Check Strict Superset
You are viewing a single comment's thread. Return to all comments →