#1077. 二分求方程根

二分求方程根

Description

用二分法求函数f(x)=x^3-7x-31=0在区间[1.6, 10]中的一个实数根,保留小数点后5位

Format

Input

Output

输出方程根

Samples

123 500
623

Limitation

1s, 1024KiB for each test case.