题解 | #输入n个整数,输出其中最小的k个#
输入n个整数,输出其中最小的k个
https://www.nowcoder.com/practice/69ef2267aafd4d52b250a272fd27052c
- 练手:输入输出 字符串的操作
in_put = []
while 1:
try:in_put.append(input().split())
except:break
n, k = in_put[0][0], input[0][1]
array = map(int, in_put[1])