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