You are viewing a single comment's thread. Return to all comments →
setA = set(input().split()) result = True for i in range(int(input())): setB = set(input().split()) if not(setA.issuperset(setB)): result = False print(result)
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 →