Изменить 'du6/program.c'
This commit is contained in:
parent
cba3a8eb0e
commit
15a01e714f
@ -66,7 +66,7 @@ void sort(struct LIS* list,int count){
|
|||||||
min=list[i].fname;
|
min=list[i].fname;
|
||||||
mini=i;
|
mini=i;
|
||||||
for(int j=i+1;j<=count;j++){
|
for(int j=i+1;j<=count;j++){
|
||||||
if(strcmp(min,list[j].fname)>0){
|
if(strcmp(min,list[j].fname)<0){
|
||||||
min=list[j].fname;
|
min=list[j].fname;
|
||||||
mini=j;
|
mini=j;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user