You are viewing a single comment's thread. Return to all comments →
n = int(input()) for _ in range(n): _ = input() set_a = {int(a) for a in input().split(' ')} _ = input() set_b = {int(a) for a in 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 →