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

Compile Error

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