The root of a cubic equation
Very easy
Execution time limit is 1 second
Runtime memory usage limit is 128 megabytes
Given a cubic equation
It is known that this equation has exactly one root. Find it.
Input
Four integers: .
Output
Print the root of equation with no less than **6** decimal digits.
Examples
Input #1
Answer #1
Input #2
Answer #2
Submissions 6K
Acceptance rate 28%