Check Subset

  • + 0 comments

    t = int(input()) for i in range(t): ai = int(input()) a = set(map(int, input().split())) bi = int(input()) b = set(map(int, input().split())) if a.issubset(b):print("True") else:print("False")