commit
This commit is contained in:
parent
1cf7630708
commit
bac23add86
@ -45,8 +45,8 @@ int main(void) {
|
||||
students[i].votes += votes;
|
||||
}
|
||||
if (count == 0) {
|
||||
fprintf(stderr, "Chyba: ziaden platny zaznam.\n");
|
||||
return 1;
|
||||
printf("Chyba: ziaden platny zaznam.\n");
|
||||
return 0;
|
||||
}
|
||||
qsort(students, count, sizeof(Student), cmp);
|
||||
printf("Vysledky:\n");
|
||||
|
||||
Loading…
Reference in New Issue
Block a user