You are viewing a single comment's thread. Return to all comments →
t = int(input()) for i in range(t): nA = input() setA = set(input().split()) nB = input() setB = set(input().split()) print(setA.issubset(setB))
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 →