Auto commit
This commit is contained in:
parent
ffbffcdfc8
commit
d198c8044c
@ -352,9 +352,16 @@ void main()
|
||||
}
|
||||
i=0;
|
||||
/**********Program**********/
|
||||
|
||||
|
||||
|
||||
while(i<3 && j<5){
|
||||
if(a[i] < b[j]){
|
||||
c[t++]=b[j++];
|
||||
}else if(a[i] > b[j]){
|
||||
i++;
|
||||
}else{
|
||||
i++;
|
||||
j++;
|
||||
}
|
||||
}
|
||||
/********** End **********/
|
||||
while(j<5){
|
||||
c[t++]=b[j++];
|
||||
@ -364,7 +371,6 @@ void main()
|
||||
printf("%d ",c[i]);
|
||||
}
|
||||
}
|
||||
|
||||
```
|
||||
|
||||
### C语言-10
|
||||
|
Loading…
x
Reference in New Issue
Block a user