diff --git a/du2/program.c b/du2/program.c index 5c8ca06..4e2c084 100644 --- a/du2/program.c +++ b/du2/program.c @@ -10,8 +10,6 @@ int main(){ while(1){ int value = 0; int r = scanf("%d",&value); - if(r == EOF) - break; if (r == 1){ continue; results[i] = value;