Problem | cuberoot |
---|---|
User | Blender |
Submission Time | 2024-02-02 14:25:10 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
cuberoot.cpp: In function ‘long long int cubeRoot(long long int)’:
cuberoot.cpp:12:169: error: expected ‘)’ before ‘;’ token
12 | for ( ll boundCubed = currentBound * currentBound * currentBound; boundCubed != n; boundCubed > n ? /* Too high */ currentBound /= 2 : currentBound += currentBound / 2; )
| ~ ^
| )
cuberoot.cpp:12:171: error: expected primary-expression before ‘)’ token
12 | for ( ll boundCubed = currentBound * currentBound * currentBound; boundCubed != n; boundCubed > n ? /* Too high */ currentBound /= 2 : currentBound += currentBound / 2; )
|