You are viewing a single comment's thread. Return to all comments →
t = int(input()) for _ in range(t): a_n = int(input()) A = set(map(int, input().split())) b_n = int(input()) B = set(map(int, 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 →