You are viewing a single comment's thread. Return to all comments →
for _ in range(tests_num): _ = input() set_A = set(map(int, input().split())) _ = input() set_B = set(map(int, input().split())) print(set_A.issubset(set_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 →