Изменить 'a1/program.c'

This commit is contained in:
Pavlo Tverdyi 2020-03-19 13:45:30 +00:00
parent 5ffd4b4dc3
commit a7f515584b

View File

@ -16,7 +16,7 @@ int main()
array = (long double*) malloc(10000); array = (long double*) malloc(10000);
for(i=0,c=1;i<c;i++,c++){ for(i=0,c=1;i<c;i++,c++){
int b = scanf("%Lf",&array[i]); int b = scanf("%Lf",&array[i]);
if(b==EOF){ if(b==EOF || b!=1){
break; break;
} }
} }