Submit | All submissions | Best solutions | Back to list |
CUBEROO2 - CUBE ROOT |
Problem Statement:
Find the cube root of the given numbers. Print exactly the first four decimal places. (Do not round off.)
Input:
The first line consists of an integer t, the number of test cases. For each test case, you are given an integer n.
Output:
For each test case, print the cube root of the number in the specified format.
Input Constraints:
1<=t<=1000
0<=n<=10^9
Sample Input:
2
8
1000000
Sample Output:
2.0000
100.0000
Added by: | cegprakash |
Date: | 2012-10-17 |
Time limit: | 1.619s |
Source limit: | 50000B |
Memory limit: | 1536MB |
Cluster: | Cube (Intel G860) |
Languages: | All except: ASM64 GOSU |
hide comments
2015-01-23 16:14:49 rajat arora
very very easy, with library functions or even without them Edit: didnt realise it was tutorial :-p Last edit: 2015-01-23 16:26:35 |
|
2015-01-18 16:19:35 SPK
Getting internal error |
|
2014-01-22 08:38:17 cegprakash
.4f will round off. The problem expects the first four decimal places. |
|
2013-12-25 19:48:56 Samil Vargas
i dont really now whats wrong with my code -.- |