You are viewing a single comment's thread. Return to all comments →
test_cases=int(input()) sets_list=[ [int(input()),set(map(int,input().split())),int(input()),set(map(int,input().split()))] for i in range(test_cases)] for sets in sets_list: print(sets[1].intersection(sets[-1])==sets[1])
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 →