Problem cuberoot
User neoaix
Submission Time 2026-06-25 15:59:40
Score 0
Max Time N/A
Max Memory N/A

Compile Error

cuberoot.cpp: In function ‘int main()’:
cuberoot.cpp:18:7: error: ‘else’ without a previous ‘if’
18 | }else h= mid;
| ^~~~
cuberoot.cpp:18:15: error: ‘mid’ was not declared in this scope
18 | }else h= mid;
| ^~~
cuberoot.cpp: At global scope:
cuberoot.cpp:21:3: error: expected unqualified-id before ‘return’
21 | return 0;
| ^~~~~~
cuberoot.cpp:23:2: error: expected declaration before ‘}’ token
23 | }
| ^
cuberoot.cpp:24:2: error: expected declaration before ‘}’ token
24 | }
| ^