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

This commit is contained in:
Pavlo Tverdyi 2020-03-19 19:09:00 +00:00
parent 3052c81724
commit cb180dd51a

View File

@ -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;
} }