Security Bijective Functions

  • + 0 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))