This commit is contained in:
Zoltán Szabó 2020-04-10 09:37:15 +02:00
parent 32bec0111a
commit 60bcf90200

View File

@ -47,6 +47,9 @@ int main(int argc, char const *argv[]){
char* end = NULL; char* end = NULL;
int value = strtol(line,&end,10); int value = strtol(line,&end,10);
if (value == 0){ if (value == 0){
if(size!=0){
break;
}
printf("Nepodarilo nacitat nic\n"); printf("Nepodarilo nacitat nic\n");
return 0; return 0;
} }