Problem cuberoot
User squishychicken
Submission Time 2025-05-27 11:42:21
Score 0
Max Time N/A
Max Memory N/A

Compile Error

cuberoot.cpp:5:15: error: ‘ll’ was not declared in this scope
5 | int cube_root(ll x) {
| ^~
cc1plus: error: ‘::main’ must return ‘int’
cuberoot.cpp: In function ‘int main()’:
cuberoot.cpp:35:28: error: ‘cube_root’ cannot be used as a function
35 | cout << cube_root(x) << '\n';
| ^