problem-25305

ysysc·2022년 11월 7일
0

PS

목록 보기
3/47

과정
1. n,k를 받고
2. map(int,input().split()을 list를 통해 리스트로 만든 후 sorted
3. 커트라인 출력

n,k=map(int,input().split())
score=sorted((list(map(int,input().split()))),reverse=True)
print(score[k-1])

time: 3분

0개의 댓글