#D. 练14.4 计算多项式的值

    Type: RemoteJudge 1000ms 128MiB

练14.4 计算多项式的值

You cannot submit for this problem because the contest is ended. You can click "Open in Problem Set" to view this problem in normal mode.

说明

对于多项式f(x)=ax3+bx2+cx+df(x)=ax^3+bx^2+cx+d和给定的aa,bb,cc,dd,xx,计算f(x)f(x)的值,保留到小数点后77位。

输入格式

输入仅一行,包含55个实数,分别是xx,及参数aabbccdd的值,每个数都是绝对值不超过100100的双精度浮点数。数与数之间以一个空格分开。

输出格式

输出一个实数,即f(x)f(x)的值,保留到小数点后77位。

样例

2.31 1.2 2 2 3
33.0838692

2024022002-day2

Not Attended
Status
Done
Rule
ACM/ICPC
Problem
8
Start at
2024-2-20 17:00
End at
2024-2-20 18:10
Duration
1.2 hour(s)
Host
Partic.
4