题解 | #明明的随机数#
明明的随机数
http://www.nowcoder.com/practice/3245215fffb84b7b81285493eae92ff0
Python 代码实现
while True:
try:
n = int(input())
a = set()
for _ in range(n):
a.add(int(input()))
for i in sorted(list(a)):
print(i)
except:
break