Problem cuberoot
User idontlikeboystrustme
Submission Time 2025-03-26 15:33:56
Score 0
Max Time N/A
Max Memory N/A

Compile Error

cuberoot.cpp: In function ‘int main()’:
cuberoot.cpp:6:3: error: expected initializer before ‘cin’
6 | cin >> t;
| ^~~
cuberoot.cpp:8:10: error: ‘a’ was not declared in this scope
8 | cin >> a[i];
| ^
cuberoot.cpp:10:7: error: ‘i’ was not declared in this scope
10 | for( i = 0; i < t; i++) {
| ^
cuberoot.cpp:11:33: error: ‘a’ was not declared in this scope
11 | cout << (long long)round(cbrt(a[i])) >> endl;}
| ^