Check Strict Superset

  • + 0 comments

    A = set(input().split()) n = int(input()) ans = True for i in range(n): otherset = set(input().split()) if ( not A.issuperset(otherset)): ans = False break print(ans)