newss
This commit is contained in:
parent
201ccc2d60
commit
d10bea4233
@ -13,7 +13,7 @@ int main() {
|
||||
int max_students;
|
||||
if (scanf("%d", &max_students) != 1 || max_students <= 0) {
|
||||
puts("Nespravny vstup");
|
||||
return 1;
|
||||
return 0;
|
||||
}
|
||||
|
||||
char buffer[MAX_NAME_LEN];
|
||||
@ -40,7 +40,7 @@ int main() {
|
||||
|
||||
if (counter == 0) {
|
||||
puts("Ziadne prihlasky");
|
||||
return 1;
|
||||
return 0;
|
||||
}
|
||||
|
||||
qsort(names, counter, sizeof(char *), compare);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user