第X大的数字
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.
题目描述
给定一个长度为数组,在其中找到第大的数。
输入描述
输入共 行。 第一行,两个整数 和 ,含义见题面。 第二行,个整数,表示需要查找的第大的数。
输出描述
一行,一个整数,表示第大的数。
样例
输入
5 2
1 2 3 4 5
输出
4
数据范围与提示
本题需要使用倒序排序!但是,请尽量使用cmp知识点做。
对于的数据,
【12月月赛】New Year
- Status
- Done
- Rule
- ACM/ICPC
- Problem
- 3
- Start at
- 2024-12-7 14:45
- End at
- 2024-12-8 10:45
- Duration
- 20 hour(s)
- Host
- Partic.
- 10
 
      