Problem cuberoot
User kashsinghal
Submission Time 2023-11-09 13:30:18
Score 0
Max Time N/A
Max Memory N/A

Compile Error

cuberoot.cpp: In function ‘int32_t main()’:
cuberoot.cpp:10:19: error: ‘x’ was not declared in this scope
10 | if (testCbrt <= x) {
| ^
cuberoot.cpp:14:21: error: expected ‘;’ before ‘}’ token
14 | cout << 1 << "\n"
| ^
| ;
15 | }
| ~
cuberoot.cpp:16:9: error: expected ‘;’ before ‘}’ token
16 | return 0
| ^
| ;
17 |
18 | }
| ~
cuberoot.cpp:18:3: error: expected ‘}’ at end of input
18 | }
| ^
cuberoot.cpp:5:17: note: to match this ‘{’
5 | int32_t main () {
| ^