Изменить 'du6/program.c'
This commit is contained in:
parent
bb614aa898
commit
f778c2aff0
@ -60,8 +60,9 @@ int mini;
|
||||
min=list[i].fname;
|
||||
mini=i;
|
||||
for(int j=i+1;j<=count;j++){
|
||||
if(strcmp(list[mini].fname,list[j].fname)==0){
|
||||
if(strcmp(list[mini].fname,list[j].fname)==0 && list[j].num!=-1){
|
||||
list[j].num=-1;
|
||||
count--;
|
||||
}
|
||||
if(strcmp(min,list[j].fname)>0){
|
||||
min=list[j].fname;
|
||||
|
Loading…
Reference in New Issue
Block a user