求f(x,n)
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.
Description
已知
$$f(x,n) = \sqrt{n + \sqrt{(n-1) + \sqrt{(n-2) + \cdots + \sqrt{2 + \sqrt{1 + x}}}}}$$
计算$x=4.2,n=10$以及$x=2.5,n=15$时的$f$的值。
Input Format
输入$x$和$n$。
Output Format
函数值,保留两位小数。
4.2 10
3.68
无基础班训练01
- Status
- Done
- Rule
- XCPC
- Problem
- 8
- Start at
- 2024-11-17 13:00
- End at
- 2024-11-24 5:00
- Duration
- 160 hour(s)
- Host
- Partic.
- 37