You are viewing a single comment's thread. Return to all comments →
n_T = int(input()) for i in range (0,n_T): c_A = int(input()) set_A = set(input().split()) c_B = int(input()) set_B = set(input().split()) if (set_A == set_A & set_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 →