Problem cuberoot
User Scissors264
Submission Time 2023-02-27 16:49:27
Score 0
Max Time N/A
Max Memory N/A

Compile Error

cuberoot.cpp: In function ‘int main()’:
cuberoot.cpp:8:4: error: expected initializer before ‘cin’
8 | cin>>num
| ^~~
cuberoot.cpp:10:10: error: ‘high’ was not declared in this scope
10 | while(high - low >1){
| ^~~~
cuberoot.cpp:10:17: error: ‘low’ was not declared in this scope; did you mean ‘pow’?
10 | while(high - low >1){
| ^~~
| pow
cuberoot.cpp:12:23: error: ‘num’ was not declared in this scope; did you mean ‘enum’?
12 | if(mid*mid*mid >= num){
| ^~~
| enum
cuberoot.cpp:18:10: error: ‘high’ was not declared in this scope
18 | cout<<high<<'\n';
| ^~~~
cuberoot.cpp:19:2: error: expected ‘}’ at end of input
19 | }
| ^
cuberoot.cpp:3:12: note: to match this ‘{’
3 | int main() {
| ^