You are viewing a single comment's thread. Return to all comments →
A = set(map(int, input().split())) n = int(input()) res = True for _ in range(n): B = set(map(int, input().split())) if not (A.issuperset(B) and A != B): res = False break print(res)
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 →