Изменить 'du6/program.c'
This commit is contained in:
parent
611e34ea26
commit
a9aa051a19
@ -22,7 +22,7 @@ int main() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
freePlaces = (int)strtol(inputs[i], &ptr, 10);
|
freePlaces = (int)strtol(inputs[i], &ptr, 10);
|
||||||
if(freePlaces < 0){
|
if(freePlaces <= 0){
|
||||||
printf("Nespravny vstup\n");
|
printf("Nespravny vstup\n");
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user