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