[BOJ / Python] 25305 커트라인

도니·2023년 4월 15일

BOJ / Python

목록 보기
84/105
post-thumbnail

문제

백준 25305 커트라인

코드

n, k = map(int, input().split())
nums = list(map(int, input().split()))
print(sorted(nums)[n-k])
profile
Where there's a will, there's a way

0개의 댓글