题解 | #小乐乐与序列#
小乐乐与序列
http://www.nowcoder.com/practice/9a1c1c764ce04fed8ceff7714e74d3b6
while True:
try:
nums_list=[]
n=input()
for i in range(int(n)):
nums=input()
nums_list.append(int(nums))
nums_list.sort()
for i in range(len(nums_list)):
if i<(len(nums_list)-1) and nums_list[i]==nums_list[i+1]:
continue
print(nums_list[i],end=" ")
print()
except:
break