You are viewing a single comment's thread. Return to all comments →
A = set(input().split()) n = int(input()) for i in range(n): s = set(input().split()) if(len(s) == len(A)): print(False) break elif(not A.issuperset(s)): print(False) break else: print(True)
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 →
For Python3