From ba885c22107ad571d53ee7f5bdc6996f0715fe54 Mon Sep 17 00:00:00 2001 From: Yaroslav Orlianskyi Date: Wed, 9 Mar 2022 15:18:39 +0100 Subject: [PATCH] ASD --- du2/program.c | 2 -- 1 file changed, 2 deletions(-) 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;