Problem | cuberoot |
---|---|
User | ultbiaslia |
Submission Time | 2023-11-15 14:28:12 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
cuberoot.cpp: In function ‘int main()’:
cuberoot.cpp:4:14: error: expected unqualified-id before numeric constant
4 | long long 1 = 0, h = 1000001;
| ^
cuberoot.cpp:5:9: error: ‘h’ was not declared in this scope
5 | while (h - 1 > 1) { h + 1) /2
| ^
cuberoot.cpp:7:8: error: ‘testCbrt’ was not declared in this scope
7 | if (testCbrt <= x)
| ^~~~~~~~
cuberoot.cpp:7:20: error: ‘x’ was not declared in this scope
7 | if (testCbrt <= x)
| ^
cuberoot.cpp:8:9: error: ‘middle’ was not declared in this scope
8 | 1 = middle;
| ^~~~~~
cuberoot.cpp:10:8: error: ‘middle’ was not declared in this scope
10 | h= middle;
| ^~~~~~
cuberoot.cpp:12:2: error: ‘cout’ was not declared in this scope
12 | cout << 1 << "\n"
| ^~~~
cuberoot.cpp:15:1: error: expected ‘}’ at end of