Problem cuberoot
User Bensamuel2008
Submission Time 2025-06-19 15:39:44
Score 0
Max Time N/A
Max Memory N/A

Compile Error

cuberoot.cpp: In function ‘int main()’:
cuberoot.cpp:10:27: error: expected ‘;’ before ‘else’
10 | else if (y*y*y<x) min=y+1
| ^
| ;
11 | else{min=x;
| ~~~~
cuberoot.cpp:15:20: error: expected ‘;’ before ‘}’ token
15 | cout << min << "\n"
| ^
| ;
......
18 | }
| ~
cuberoot.cpp: At global scope:
cuberoot.cpp:19:1: error: expected declaration before ‘}’ token
19 | }
| ^