Check Strict Superset

  • + 0 comments

    d=True a=set(map(int,input().split())) if len(a) >0 and len(a) <501: b=int(input()) if b>0 and b<21: for i in range(b): c=set(map(int,input().split())) if len(c)>0 and len(c)<101: if not a.issuperset(c): d=False break

    print(d)