printf(\if(i==1)
gets(str1);while(str1[count[0]])count[0] ;temp[0] ; if(i==2)
gets(str2);while(str2[count[1]])count[1] ;temp[1] ; if(i==3)
gets(str3);while(str3[count[2]])count[2] ;temp[2] ; if(i==4)
gets(str4);while(str4[count[3]])count[3] ; temp[3] ; if(i==5)
gets(str5);while(str5[count[4]])count[4] ; temp[4] ; if(i==6)
gets(str6);while(str6[count[5]])count[5] ; temp[5] ; if(i==7)
gets(str7);while(str7[count[6]])count[6] ; temp[6] ; if(i==8)
gets(str8);while(str8[count[7]])count[7] ; temp[7] ; if(i==9)
gets(str9);while(str9[count[8]])count[8] ; temp[8] ; if(i==10)
gets(str10);while(str10[count[9]])count[9] ;temp[9] ; j=paixu(temp,10); for(i=1;i if(count[i-1]==j)
/*Ö»Òª×Ö·û´®³¤¶ÈÓë×î´ó³¤¶ÈÏàµÈ¾Í´òÓ¡³öÀ´*/ switch(i)
case 1:puts(str1); printf(\case 2:puts(str2); printf(\case 3:puts(str3); printf(\case 4:puts(str4); printf(\case 5:puts(str5); printf(\
case 6:puts(str6); printf(\case 7:puts(str7); printf(\case 8:puts(str8); printf(\case 9:puts(str9); printf(\case 10:puts(str10); printf(\11¡¢
/*¸øÊý×éaÊäÈëm¸ö°´ÉýÐòÅÅÁеÄÊý£¬¸øÊý×ébÊäÈën¸ö°´½µÐòÅÅÁеÄÊý*/ /*½«aÓëbÖеÄÔªËØ°´½µÐòÅÅÁдæÔÚÊý×écÖС£*/ #include void main()
int a[100],b[100],c[100],i,m,n,j,k,temp=0,s;
printf(\È·¶¨MµÄ¸öÊý*/ printf(\È·¶¨NµÄ¸öÊý*/ printf(\for(s=0;s
scanf(\
printf(\for(s=0;s
scanf(\
i=m-1;j=0;k=0; /*i£¬j,·Ö±ð±ê¼Ça[]Óëb[]ÇÒ¶¼ÊÇ´Ó×î´óÔªËØ¿ªÊ¼×ö±ê¼Ç*/ for(;;)
if(i==0) /*a[]ÖÐÖ»ÓÐÒ»¸öÊý»òÕßa[]´¦Àíµ½ÁË×îºóÒ»¸öÔªËØ*/ if(a[i] else c[k]=a[i]; k ;
for(;;) /*°Ñb[]Êý×é½Óµ½c[]ºóÃæ*/ c[k]=b[j]; j ; k ;
if(j==n) /*Èç¹ûb[]´¦ÀíÍ꣬½áÊø¡£²¢×ö±ê¼Çtemp=1*/
temp=1;break;
if(temp==1)break; /*±ê¼Çtemp=1£¬È«²¿´¦Àí½áÊø*/ if((a[i]
c[k]=b[j]; j ; k ; if((a[i]>b[j])&&(i!=0)&&(j!=n)) c[k]=a[i]; i--; k ; if(j==n) /*b[]´¦Àíµ½Íê*/
for(;;) /*°Ñb[]Êý×é½Óµ½c[]ºóÃæ*/ if(i==0) /*Èç¹ûa[]´¦ÀíÍ꣬½áÊøc[k]=a[i];temp=1;break; c[k]=a[i]; i--; k ;
if(temp==1) break;/*±ê¼Çtemp=1£¬È«²¿´¦Àí½áÊø*/ for(s=0;s
printf(\getch();
²¢×ö±ê¼Çtemp=1*/
¡£
Ïà¹ØÍÆ¼ö£º