Problem | cuberoot |
---|---|
User | ForsakenPBJ |
Submission Time | 2024-12-06 12:35:04 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
cuberoot.cpp: In function ‘int main()’:
cuberoot.cpp:7:18: error: expected ‘;’ before ‘<’ token
7 | for(int i = 0, i < input_num, i++){
| ^~
| ;
cuberoot.cpp:7:19: error: expected primary-expression before ‘<’ token
7 | for(int i = 0, i < input_num, i++){
| ^
cuberoot.cpp:7:35: error: expected ‘;’ before ‘)’ token
7 | for(int i = 0, i < input_num, i++){
| ^
| ;
cuberoot.cpp:10:16: error: invalid type argument of unary ‘*’ (have ‘int’)
10 | x = x ** (1/3);
| ^