Python/백준

백준 - 11004 K번째 수

sophia02 2022. 10. 21. 22:44
n, k = map(int, input().split())
a = list(map(int, input().split()))
a.sort()
print(a[k-1])