You are viewing a single comment's thread. Return to all comments →
setA = set(input().split()) t = int(input()) count = 0 for _ in range(t): a = set(input().split()) if setA.issuperset(a): count += 1 print(count == t)
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 →