import java
.util
.Scanner
;
public class Main {
public static void main(String
[] args
){
Scanner scanner
= new Scanner(System
.in
);
double d
= scanner
.nextDouble();
double left
= 0.0;
double right
= d
;
while(right
-left
>0.001){
double mid
= (left
+ right
)/2;
if(Math
.pow(mid
,3)>d
){
right
= mid
;
}else{
left
= mid
;
}
}
if(Math
.pow(Math
.round(left
),3)==d
){
System
.out
.println(Math
.round(left
));
}else{
System
.out
.printf("%.1f",left
);
}
}
}
转载请注明原文地址:https://ipadbbs.8miu.com/read-19705.html