LoginSignup
0
0

More than 1 year has passed since last update.

ABC154 C - Distinct or Not を解いた

Posted at

abc154c_1.png
abc154c_2.png

うん。できた。

abc154c.py
N = int(input())
A = list(map(int,input().split()))

print("YES" if len(list(set(A))) == len(A) else "NO" )
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0