题解 | #明明的随机数#
明明的随机数
https://www.nowcoder.com/practice/3245215fffb84b7b81285493eae92ff0
n=int(input()) l=[] for i in range(n): num=int(input()) if num not in l: l.append(num) l.sort() for i in l: print(i)
明明的随机数
https://www.nowcoder.com/practice/3245215fffb84b7b81285493eae92ff0
n=int(input()) l=[] for i in range(n): num=int(input()) if num not in l: l.append(num) l.sort() for i in l: print(i)
相关推荐