
[백준][Python] 25305번 커트라인 - 코팩
·
백준/구현
https://www.acmicpc.net/problem/25305 25305번: 커트라인 시험 응시자들 가운데 1등은 100점, 2등은 98점, 3등은 93점이다. 2등까지 상을 받으므로 커트라인은 98점이다. www.acmicpc.net 풀이 # 25305번 커트라인 n, k = map(int, input().split()) scores = list(map(int, input().split())) scores.sort(reverse =True) print(scores[k-1]) 출력결과