You are viewing a single comment's thread. Return to all comments →
A= set(map(int, input().split())) N= int(input()) sets_superset = [] for i in range(N): sets= set(map(int, input().split())) if len(sets.difference(A)) == 0: sets_superset.append(True) else: sets_superset.append(False) print(all(sets_superset))
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 →