题解 | #明明的随机数#
明明的随机数
https://www.nowcoder.com/practice/3245215fffb84b7b81285493eae92ff0
import sys sample_num = input() data = [] unique_data = [] for i in range(int(sample_num)): data.append(int(input())) for i in data: if i not in unique_data: unique_data.append(i) unique_data.sort() for i in unique_data: print(i)