You are viewing a single comment's thread. Return to all comments →
A=set(input().split()) n=int(input()) temp = [] for i in range(n): B=set(input().split()) if (A.issuperset(B)): temp.append("True") else: temp.append("False") if "False" in temp: print("False") else: print("True")
Seems like cookies are disabled on this browser, please enable them to open this website
Check Strict Superset
You are viewing a single comment's thread. Return to all comments →