You are viewing a single comment's thread. Return to all comments →
def check(x,y): if x==len(set(y)): return "YES" else: return "NO" n=int(input()) m=list(map(int,input().split())) print(check(n,m))
Seems like cookies are disabled on this browser, please enable them to open this website
Security Bijective Functions
You are viewing a single comment's thread. Return to all comments →
def check(x,y): if x==len(set(y)): return "YES" else: return "NO" n=int(input()) m=list(map(int,input().split())) print(check(n,m))