We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
- Prepare
- Python
- Sets
- Check Strict Superset
- Discussions
Check Strict Superset
Check Strict Superset
Sort by
recency
|
1168 Discussions
|
Please Login in order to post a comment
print((lambda s : all(s > e for e in (set(map(int, input().split())) for _ in range(int(input())))))(set(map(int, input().split()))))
A= set(map(int, input().split())) N= int(input())
is_superset = all(A > set(map(int,input().split())) for _ in range(N))
print(is_superset)