You are viewing a single comment's thread. Return to all comments →
A = set(input().split()) N = int(input()) print(all(A.issuperset(input().split()) for _ in range(N)))
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 →