diff --git a/du2/program.c b/du2/program.c index 37295d9..79c81b3 100644 --- a/du2/program.c +++ b/du2/program.c @@ -19,7 +19,7 @@ int main(){ r = scanf("%d", &value); pole[i] = value; if(value<0){ - return EOF; + return -1; } if(r == 1){