Check Strict Superset

  • + 0 comments

    A_set=set(map(int, input().split())) n=int(input()) flag=True for i in range(n): B=set(map(int, input().split())) if not A_set.issuperset(B): flag=False continue print(flag)