You are viewing a single comment's thread. Return to all comments →
for _ in range(int(input())): a=input() A=set(map(int,input().split())) b=input() B=set(map(int,input().split())) if A.issubset(B): print(True) else: print(False)
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 →