include [HTML_REMOVED]
using namesapce std;
void fun(int q[],int l,int r)
{
int x=q[r+l>>1],i=l-1,j=r+1;
if(l>=r)return ;
else
{
while(i[HTML_REMOVED]x);
if(i[HTML_REMOVED]>n;
for(int i=0;i[HTML_REMOVED]>q[i];
}
fun(q,0,n-1);
cout<<”以下是排序好后”<<endl;
for(int i=0;i<n;i++)
{
cout<<q[i]<<” “;
}
return 0;
}