| Problem | cuberoot |
|---|---|
| User | zhiyan |
| Submission Time | 2026-09-30 08:57:23 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
cuberoot.cpp: In function ‘int main()’:
cuberoot.cpp:20:29: error: expected ‘;’ before ‘if’
20 | mid = (a + b)/ 2
| ^
| ;
21 | if (mid*mid*mid==x) {
| ~~
cuberoot.cpp:24:15: error: ‘else’ without a previous ‘if’
24 | } else
| ^~~~