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

Compile Error

cc1plus: error: ‘::main’ must return ‘int’
cuberoot.cpp: In function ‘int main()’:
cuberoot.cpp:10:19: error: ‘x’ was not declared in this scope
10 | if (testCbrt <= x) {
| ^
cuberoot.cpp:15:1: error: expected ‘}’ at end of input
15 | }
| ^
cuberoot.cpp:5:13: note: to match this ‘{’
5 | int main () {
| ^