Check Subset

  • + 0 comments

    T = int(input()) for i in range(T): A = int(input()) A_el = set(map(int, input().split())) B = int(input()) B_el = set(map(int, input().split())) print(A_el.difference(B_el) == set())