Given a number, x, print its cube root.
You must be able to handle multiple testcases in the same time limit.
The first line of input consists of t, the number of numbers that follow.
On the second line, t numbers will be given. For each number, print out its CUBE root, separated by a single endline.
t will be not more than 100000 and the numbers on the second line can only go up to 1018.
You may assume that no numbers are negative.
4 1 8 27 64
1 2 3 4
Subtask | Score |
---|---|
1 | 100 |
2 | 0 |