练58.1 严格排名
You cannot submit for this problem because the contest is ended. You can click "Open in Problem Set" to view this problem in normal mode.
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
20251018C班作业(3)
- Status
- Done
- Problem
- 5
- Open Since
- 2025-10-23 0:00
- Deadline
- 2025-10-30 23:59
- Extension
- 24 hour(s)