#P341. 练58.1 严格排名
练58.1 严格排名
Description
Given numbers, what is the strictly -th smallest number among them? The strictly -th smallest number refers to the -th smallest number after removing duplicates.
Input Format
The first line contains two integers and ().
The second line contains integers (), representing the numbers.
Output Format
Output a single line containing an integer, representing the answer.
The input guarantees a solution.
Sample
5 3
1 2 3 2 43
Related
In following homework: