Problem cuberoot
User ngmh
Submission Time 2026-01-06 23:16:18
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 ‘;’ token
10 | while (next = cur + gap; next * next * next < n) {
| ~ ^
| )
cuberoot.cpp:10:51: error: expected ‘;’ before ‘)’ token
10 | while (next = cur + gap; next * next * next < n) {
| ^
| ;