Problem cuberoot
User AltheaZ
Submission Time 2023-06-30 10:26:42
Score 0
Max Time N/A
Max Memory N/A

Compile Error

cuberoot.cpp: In function ‘int main()’:
cuberoot.cpp:13:28: error: invalid operands of types ‘__gnu_cxx::__promote_2<int, double, double, double>::__type’ {aka ‘double’} and ‘const char [2]’ to binary ‘operator<<’
13 | cube[i]=(pow(raw,1.0/3.0)<<"\n");
| ~~~~~~~~~~~~~~~~^~~~~~
| | |
| | const char [2]
| __gnu_cxx::__promote_2<int, double, double, double>::__type {aka double}