Problem cuberoot
User earthyeet
Submission Time 2026-01-15 12:55:54
Score 0
Max Time N/A
Max Memory N/A

Compile Error

cuberoot.cpp: In function ‘int cuberoot(int)’:
cuberoot.cpp:7:2: error: expected ‘,’ or ‘;’ before ‘return’
7 | return result
| ^~~~~~
cuberoot.cpp:21:1: error: expected ‘}’ at end of input
21 | }
| ^
cuberoot.cpp:4:23: note: to match this ‘{’
4 | int cuberoot(int num) {
| ^