题解 | #明明的随机数#C可以桶排序我py只能集合去重吗
明明的随机数
https://www.nowcoder.com/practice/3245215fffb84b7b81285493eae92ff0
while True: try: n = int(input()) nums = [] flag = [0] * 501 for i in range(n): temp = int(input()) nums.append(temp) flag[temp] = 1 for i in range(1, 501): if flag[i]: print(i) except: break