728x90
반응형

단순 정렬 문제이다.

N, K = map(int, input().split())
li = sorted((map(int, input().split())))
print(li[K-1])
728x90
반응형

+ Recent posts