python-algorithm
백준 10867 중복 빼고 정렬하기
무적김두칠
2021. 12. 6. 17:08
1
2
3
4
5
|
n=int(input())
tmp=list(map(int,input().split()))
tmp=set(tmp)
tmp=sorted(list(tmp))
print(*tmp)
|
cs |
반응형