Constantine____ @ 2024-11-13 16:45:47
#include<bits/stdc++.h>
using namespace std;
int a[100000000];
int main()
{
int m,n;
cin>>n>>m;
for(int i=0 ; i<n ; i++)
{
cin>>a[i];
}
sort(a,a+n);
cout<<a[m];
return 0;
}
by Ybll_ @ 2024-11-13 17:04:03
老老实实写分治
by queenbee @ 2024-11-13 17:15:55
@Constantine____
by _th_tw_on_ @ 2024-11-13 17:18:54
同步流关了
by Mia_zxt @ 2024-11-25 18:39:45
eee这题不是要分治吗我用的快排也是六十分ToT