Изменить 'du5/program.c'
This commit is contained in:
parent
70ecbcac84
commit
013cf048b4
@ -42,6 +42,11 @@ void bsortDesc(struct entry* list[80], int s){
|
||||
list[j] = list[j + 1];
|
||||
list[j + 1] = temp;
|
||||
}
|
||||
else if ((list[j]->votes == list[j + 1]->votes) && (list[j]->name[0] < list[j + 1]->name[0])){
|
||||
temp = list[j];
|
||||
list[j] = list[j + 1];
|
||||
list[j + 1] = temp;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user