Problem cuberoot
User Daddy
Submission Time 2023-11-17 10:25:15
Score 0
Max Time N/A
Max Memory N/A

Compile Error

cuberoot.cpp: In function ‘int main()’:
cuberoot.cpp:8:3: error: expected identifier before ‘long’
8 | long x;
| ^~~~
cuberoot.cpp:8:9: error: expected ‘]’ before ‘;’ token
8 | long x;
| ^
| ]
cuberoot.cpp: In lambda function:
cuberoot.cpp:8:9: error: expected ‘{’ before ‘;’ token
cuberoot.cpp: In function ‘int main()’:
cuberoot.cpp:9:8: error: ‘x’ was not declared in this scope
9 | cin>>x;
| ^
cuberoot.cpp: At global scope:
cuberoot.cpp:12:1: error: expected declaration before ‘}’ token
12 | }
| ^