Problem cuberoot
User DuckyKayden
Submission Time 2025-07-22 06:25:50
Score 0
Max Time N/A
Max Memory N/A

Compile Error

cuberoot.cpp: In function ‘int32_t main()’:
cuberoot.cpp:13:27: error: lvalue required as increment operand
13 | for(int i = 1; i <= x; ++1;) {
| ^
cuberoot.cpp:13:28: error: expected ‘)’ before ‘;’ token
13 | for(int i = 1; i <= x; ++1;) {
| ~ ^
| )
cuberoot.cpp:13:29: error: expected primary-expression before ‘)’ token
13 | for(int i = 1; i <= x; ++1;) {
| ^