dongrq_cs @ 2023-04-03 19:34:28
#include <bits/stdc++.h>
using namespace std;
int x[5000000],k;
int main(){
int n;
cin >> n >> k;
for(int i = 0;i < n;i++){
cin >> x[i];
}
sort(x,x + n);
cout << x[k];
}
by zjx331 @ 2023-04-03 19:45:06
az
by xiaoming007 @ 2023-04-03 19:45:09
@Haoomff
我放弃了。。。
可能114514年以后会帮你调出来(
by _Haoomff_ @ 2023-04-03 19:45:50
@xiaoming007 艹
by dongrq_cs @ 2023-04-03 19:46:50
哎?停停,你俩别吵了行不行?