ABC154 C - Distinct or Not
https://atcoder.jp/contests/abc154/tasks/abc154_c
提出
code: python
n = int(input())
a = list(map(int, input().split()))
if (len(a) == len(set(a))):
print("YES")
else:
print("NO")