Toggle navigation
万里ACM
F.A.Qs
Web Board
ProblemSet
Source/Category
Status
Ranklist
Contest
[
ProblemSet
Status
Ranklist
OI Ranklist
Statistics
]
Login
Problem E: 解方程
Problem E: 解方程
Time Limit:
1 Sec
Memory Limit:
128 MB
Submit:
2868
Solved:
1491
[
Submit
] [
Status
] [
Web Board
] [Creator:
]
Description
求方程f(x)=2^x+3^x-4^x=0在[1,2]内的根,精确到10位小数。
Input
输入m(0<=m<=8),输出m位小数
Output
输出方程f(x)=0的根,精确到10位小数,输出m位小数。
Sample Input
Copy
3
Sample Output
Copy
1.507
HINT