题解 | #明明的随机数#
明明的随机数
http://www.nowcoder.com/practice/3245215fffb84b7b81285493eae92ff0
lines = []
while True:
try:
lines.append(int(input()))
except:
break
i = 0
while i < len(lines):
out = set()
for j in range(i+1, i+1+lines[i]):
out.add(lines[j])
for value in sorted(out):
print(value)
i = i + 1 + lines[i]