#H. 计算多项式的值

    Type: Default 1000ms 256MiB

计算多项式的值

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 和给定的 aabbccddxx,计算 f(x)f(x) 的值,保留到小数点后 77 位。

【输入】

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

【输出】

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

【输入样例】

2.31 1.2 2 2 3

【输出样例】

33.0838692

【来源】

一本通在线评测

初一B随堂作业

Not Attended
Status
Done
Rule
IOI
Problem
8
Start at
2025-9-12 10:15
End at
2025-9-12 12:15
Duration
2 hour(s)
Host
Partic.
24