W_churchill @ 2020-03-31 22:44:23
#include<bits/stdc++.h>
using namespace std;
int a[5000010];
int main()
{
register int n,k;
cin>>n>>k;
for(int i=0;i<n;i++)
cin>>a[i];
sort(a,a+n);
cout<<a[k];
return 0;
}
为什么3A2TLE
by W_churchill @ 2020-04-19 11:25:01
@唱个歌 啊,AC了
by W_churchill @ 2020-04-19 11:25:11
@唱个歌 谢谢