Problem cuberoot
User AltheaZ
Submission Time 2023-06-30 10:09:32
Score 0
Max Time N/A
Max Memory N/A

Compile Error

cuberoot.cpp:5:19: error: ‘n’ has not been declared
5 | bool isCube(int x,n){
| ^
cuberoot.cpp: In function ‘bool isCube(int, int)’:
cuberoot.cpp:6:6: error: ‘n’ was not declared in this scope
6 | if (n**3==x){
| ^
cuberoot.cpp:6:9: error: invalid type argument of unary ‘*’ (have ‘int’)
6 | if (n**3==x){
| ^