Check Subset

  • + 0 comments
        for _ in range(tests_num):
            _ = input()
            set_A = set(map(int, input().split()))
            _ = input()
            set_B = set(map(int, input().split()))
            print(set_A.issubset(set_B))