void shell(int *a,int n) { int i,j,k,x; k=n/2; /*���ֵ*/ while(k>=1) { for(i=k;i=0&&x