题解 | #明明的随机数#
明明的随机数
https://www.nowcoder.com/practice/3245215fffb84b7b81285493eae92ff0
inline = [] while 1: try: inline.append(int(input())) except: break N = inline[0] inline = inline[1:] in_num_unique = list(set(inline)) in_num_unique = sorted(in_num_unique) for n in in_num_unique: print(n)
Python YYDS