Problem | cuberoot |
---|---|
User | tomatofrog0w0 |
Submission Time | 2023-11-09 13:57:31 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
cuberoot.cpp: In function ‘int32_t main()’:
cuberoot.cpp:12:14: error: expected primary-expression before ‘]’ token
12 | cin >> arr []
| ^
cuberoot.cpp:21:2: error: expected ‘,’ or ‘;’ before ‘long’
21 | long long testCbrt = middle * middle * middle;
| ^~~~
cuberoot.cpp:23:6: error: ‘testCbrt’ was not declared in this scope
23 | if (testCbrt <= arr[i]){
| ^~~~~~~~