You are viewing a single comment's thread. Return to all comments →
T = int(input()) for i in range(T): a = int(input()) A = set(input().split()) b = int(input()) B = set(input().split()) print(A.issubset(B))
Seems like cookies are disabled on this browser, please enable them to open this website
Check Subset
You are viewing a single comment's thread. Return to all comments →
For Python3