return 0
This commit is contained in:
parent
f43431e8fc
commit
cd76734304
@ -10,7 +10,7 @@ int main() {
|
||||
char prvy_input[100];
|
||||
if (fgets(prvy_input, sizeof(prvy_input), stdin) == NULL || atoi(prvy_input) <= 0) {
|
||||
printf("Nespravny vstup\n");
|
||||
return 1;
|
||||
return 0;
|
||||
}
|
||||
|
||||
while (fgets(pole[pocet_studentov], sizeof(pole[pocet_studentov]), stdin) != NULL) {
|
||||
|
Loading…
Reference in New Issue
Block a user