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