10254: CF EDU - Binary Search - Step 2 - E. Equation
[Creator : ]
Description
Find a number $x$ such that $x^2+\sqrt{x}=c$.
Input
The input contains one real number $C\ (1.0≤c≤10^{10})$.
Output
Print one number, the required $x$. The answer will be considered correct if the relative or absolute error is not more than $10^{-6}$.
Sample 1 Input
2.0
Sample 1 Output
1.0
Sample 2 Input
15.6
Sample 2 Output
3.698232168829691