Problem cuberoot
User noob41
Submission Time 2023-11-10 10:32:23
Score 0
Max Time N/A
Max Memory N/A

Compile Error

cuberoot.cpp: In function ‘int32_t main()’:
cuberoot.cpp:3:18: error: declaration does not declare anything [-fpermissive]
3 | #define int long long;
| ^~~~
cuberoot.cpp:6:2: note: in expansion of macro ‘int’
6 | int t;
| ^~~
cuberoot.cpp:6:6: error: ‘t’ was not declared in this scope; did you mean ‘tm’?
6 | int t;
| ^
| tm
cuberoot.cpp:8:6: error: ‘i’ was not declared in this scope
8 | for(i=0;i<n;i++){
| ^
cuberoot.cpp:8:12: error: ‘n’ was not declared in this scope; did you mean ‘yn’?
8 | for(i=0;i<n;i++){
| ^
| yn
cuberoot.cpp:3:18: error: declaration does not declare anything [-fpermissive]
3 | #define int long long;
| ^~~~
cuberoot.cpp:9:3: note: in expansion of macro ‘int’
9 | int num;
| ^~~
cuberoot.cpp:9:7: error: ‘num’ was not declared in t