1
2
3
4
5
|
a,b=map(int, input().split())
tmp=[]
for _ in range(a):
tmp.append(input())
print((sorted(tmp))[b-1])
|
cs |
반응형
'python-algorithm' 카테고리의 다른 글
[백준] 15969 (0) | 2021.01.15 |
---|---|
[백준] 15829 (0) | 2021.01.15 |
[백준] 15814 (0) | 2021.01.15 |
[백준] 15813 (0) | 2021.01.15 |
[백준] 15701 (0) | 2021.01.15 |
댓글