Problem cuberoot
User claireau
Submission Time 2024-07-08 14:26:49
Score 0
Max Time N/A
Max Memory N/A

Compile Error

cuberoot.cpp: In function ‘int main()’:
cuberoot.cpp:4:1: error: ‘arr’ was not declared in this scope
4 | arr<int>t;
| ^~~
cuberoot.cpp:4:5: error: expected primary-expression before ‘int’
4 | arr<int>t;
| ^~~
cuberoot.cpp:5:8: error: ‘t’ was not declared in this scope; did you mean ‘tm’?
5 | cin >> t;
| ^
| tm
cuberoot.cpp:7:15: error: expected ‘;’ before ‘return’
7 | cout << i*i*i
| ^
| ;
8 | return 0;
| ~~~~~~