Изменить 'a1/program.c'
This commit is contained in:
parent
5ffd4b4dc3
commit
a7f515584b
@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user