void shell(int a[],int len) {//shell정렬 int i,j,k,h,temp; for(h=1;h0;h/=3) { for(i=0;itemp) a[k]=a[k-h]; else break; a[k]=temp; } } } } }