This commit is contained in:
Patrik Seman 2023-03-04 13:28:03 +01:00
parent 4c58719eb2
commit bceaabe49c

View File

@ -19,7 +19,7 @@ int main(){
r = scanf("%d", &value); r = scanf("%d", &value);
pole[i] = value; pole[i] = value;
if(value<0){ if(value<0){
return EOF; return -1;
} }
if(r == 1){ if(r == 1){