Problem cuberoot
User Johnnie
Submission Time 2023-06-20 20:49:21
Score 0
Max Time N/A
Max Memory N/A

Compile Error

cuberoot.cpp: In function ‘int main()’:
cuberoot.cpp:5:7: error: found ‘:’ in nested-name-specifier, expected ‘::’
5 | int t:
| ^
| ::
cuberoot.cpp:5:6: error: ‘t’ has not been declared
5 | int t:
| ^
cuberoot.cpp:6:6: error: qualified-id in declaration before ‘>>’ token
6 | cin >> t;
| ^~
cuberoot.cpp:7:23: error: ‘t’ was not declared in this scope
7 | for (int i = 0 ; i < t; i++)
| ^