distorted_RE @ 2024-06-15 09:51:36
#include<bits/stdc++.h>
using namespace std;
int a[114514],n,k;
int main()
{
cin>>n>>k;
for(int i=0;i<n;i++){
cin>>a[i];
}
sort(a,a+n);
cout<<a[k];
return 0;
}
by I_AK_CTSC @ 2024-06-15 10:06:18
@distorted_RE 5000000>114514
by distorted_RE @ 2024-06-15 10:07:10
@I_AK_CTSC 乐
by kaaaai @ 2024-06-15 10:41:01
@distorted_RE 数组开小了,而且就算开到