You are viewing a single comment's thread. Return to all comments →
A shorter version (Python 3) using a generator:
a = set(input().split()) print(all(a > set(input().split()) for _ in range(int(input()))))
No need for maps or lambdas.
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 →
A shorter version (Python 3) using a generator:
No need for maps or lambdas.