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
hide comments
rajat arora:
2015-01-23 16:14:49
very very easy, with library functions or even without them
|
|
SPK:
2015-01-18 16:19:35
Getting internal error
|
|
cegprakash:
2014-01-22 08:38:17
.4f will round off. The problem expects the first four decimal places. |
|
Samil Vargas:
2013-12-25 19:48:56
i dont really now whats wrong with my code -.- |
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 |