Problem | cuberoot |
---|---|
User | TheInvadr |
Submission Time | 2023-01-03 19:49:36 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
cuberoot.cpp: In function ‘int main()’:
cuberoot.cpp:13:7: error: ‘mid’ was not declared in this scope
13 | if(mid*mid*mid==num){
| ^~~
cuberoot.cpp:17:4: error: ‘else’ without a previous ‘if’
17 | else if(mid*mid*mid>num)e=m-1
| ^~~~
cuberoot.cpp:17:12: error: ‘mid’ was not declared in this scope
17 | else if(mid*mid*mid>num)e=m-1
| ^~~
cuberoot.cpp:17:33: error: expected ‘;’ before ‘else’
17 | else if(mid*mid*mid>num)e=m-1
| ^
| ;
18 | else{
| ~~~~