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 Subset
- Discussions
Check Subset
Check Subset
Sort by
recency
|
945 Discussions
|
Please Login in order to post a comment
t=int(input())
for _ in range(t): n=int(input()) a=set(map(int,input().split())) m=int(input()) b=set(map(int,input().split())) if a.intersection(b) == a: print(True) else: print(False)
T = int(input())
for i in range(T):