Write a program that reads a number and a polynomial , and computes .
Input consists of a real number followed by the description of the polynomial : the real coefficients , , …, in this order. (The first sample input/output corresponds to the evaluation of at .)
Print with 4 digits after the decimal point.
Author: Unknown
Translator: Salvador Roura
Generation: 2026-01-25T12:12:17.779Z
© Jutge.org, 2006–2026.
https://jutge.org