Problem cuberoot
User elegantarmour
Submission Time 2024-08-11 00:44:55
Score 0
Max Time N/A
Max Memory N/A

Compile Error

cuberoot.cpp: In function ‘int findCube(int)’:
cuberoot.cpp:8:2: error: ‘mid’ was not declared in this scope
8 | mid = (lower + upper) / 2;
| ^~~
cuberoot.cpp: In function ‘int main()’:
cuberoot.cpp:28:10: error: ‘num’ was not declared in this scope; did you mean ‘enum’?
28 | cin >> num;
| ^~~
| enum