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
|
949 Discussions
|
Please Login in order to post a comment
N=int(input()) for i in range(N): size=int(input()) A=set(map(int,input().split()))
if name == "main":
print(*[(lambda a, set_a, b, set_b : set_b.issuperset(set_a))(input(), set(map(int, input().split())), input(), set(map(int, input().split()))) for _ in range(int(input()))], sep="\n")