Problem cuberoot
User StarSparrowFox
Submission Time 2024-08-12 14:26:55
Score 0
Max Time N/A
Max Memory N/A

Compile Error

cuberoot.cpp: In function ‘int main()’:
cuberoot.cpp:16:58: error: expected primary-expression before ‘/’ token
16 | long long cube = (long long)mid * mid * mid; /
| ^
cuberoot.cpp:18:13: error: expected primary-expression before ‘if’
18 | if (cube < n) {
| ^~
cuberoot.cpp:20:15: error: ‘else’ without a previous ‘if’
20 | } else {
| ^~~~