题解 | #查找第K小数#
查找第K小数
https://www.nowcoder.com/practice/204dfa6fcbc8478f993d23f693189ffd
input() l = list(sorted(set(map(int, input().split())))) print(l[int(input()) - 1])
查找第K小数
https://www.nowcoder.com/practice/204dfa6fcbc8478f993d23f693189ffd
input() l = list(sorted(set(map(int, input().split())))) print(l[int(input()) - 1])
相关推荐