Изменить 'a1/program.c'
This commit is contained in:
parent
3052c81724
commit
cb180dd51a
@ -23,7 +23,6 @@ int main()
|
|||||||
for(int j=0 ;i>0; i--,j++){
|
for(int j=0 ;i>0; i--,j++){
|
||||||
result+=(long double)(array[j]*pow(x,i-1));
|
result+=(long double)(array[j]*pow(x,i-1));
|
||||||
}
|
}
|
||||||
|
|
||||||
if(result>40000 && result!=(long long )(result)){
|
if(result>40000 && result!=(long long )(result)){
|
||||||
result-=0.01;
|
result-=0.01;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user