题解 | #明明的随机数#
明明的随机数
https://www.nowcoder.com/practice/3245215fffb84b7b81285493eae92ff0
while True: try: n = int(input()) nums = set() for _ in range(n): nums.add(int(input())) for num in sorted(nums): print(num) except EOFError: break
明明的随机数
https://www.nowcoder.com/practice/3245215fffb84b7b81285493eae92ff0
while True: try: n = int(input()) nums = set() for _ in range(n): nums.add(int(input())) for num in sorted(nums): print(num) except EOFError: break
相关推荐