This commit is contained in:
Andrii Hermaniuk 2022-04-07 15:58:12 +02:00
parent 84d4615c2a
commit 45c22c078d

View File

@ -70,6 +70,6 @@ int compare(const void* p1, const void* p2){
struct student* s2 = (struct student*)p2;
// s1->votes je počet hlasov
// s1->name je meno študenta
return (s2->votes)-(s1->votes)+1;
return (s2->votes)-(s1->votes);
}