Олимпиадный тренинг

Задача 27283. Binary search for a monotonic function


Задача

Темы:
Given a natural number x. Calculate the cube root of a number.
 
Input
Number x – natural, not exceeding \(10^6\).
 
Output
The program should display a single number: the answer to the problem with an accuracy of at least 6 decimal places.

 

Examples
# Input Output
1 2 1.259921