This commit is contained in:
Yaroslav Orlianskyi 2022-03-09 15:23:30 +01:00
parent 6fcd11cdf0
commit d0df296005

View File

@ -10,7 +10,7 @@ int main(){
while(1){ while(1){
int value = 0; int value = 0;
int r = scanf("%d",&value); int r = scanf("%d",&value);
if(r == EOF || r < 0) if(r < 0)
continue; continue;
if (r == 1){ if (r == 1){
results[i] = value; results[i] = value;