0
已采纳
0
0
#include <algorithm>
int a[n],m;
cin>>m;
for(int i=1;i<=n;i++)
cin>>a[i];
sort(a+1,a+1+n);
cout<<a[m];
0