You are viewing a single comment's thread. Return to all comments →
Python3 one-liner:
print ('YES') if int(input()) == len(set(map(int, input().split(' ')))) else print('NO')
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 →
Python3 one-liner: