计算多项式的值
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.
【题目描述】
假定多项式的形式为,请计算给定单精度浮点数x和正整数n值的情况下这个多项式的值。x在float范围内,n≤1000000。多项式的值精确到小数点后两位,保证最终结果在float范围内。
【输入】
输入仅一行,包括x和n,用单个空格隔开。x在float范围内,n ≤ 1000000。
【输出】
输出一个实数,即多项式的值,精确到小数点后两位。保证最终结果在float范围内。
【输入样例】
2.0 4
【输出样例】
31.00
【来源】
一本通在线评测
精英班-Day03作业
- Status
- Done
- Problem
- 20
- Open Since
- 2024-7-21 0:00
- Deadline
- 2024-7-24 23:59
- Extension
- 24 hour(s)