Problem cuberoot
User Jaysonwee22
Submission Time 2026-06-25 15:36:12
Score 0
Max Time N/A
Max Memory N/A

Compile Error

cuberoot.cpp: In function ‘int main()’:
cuberoot.cpp:5:15: error: a function-definition is not allowed here before ‘{’ token
5 | void solve() {
| ^
cuberoot.cpp:14:1: error: expected ‘}’ at end of input
14 | }
| ^
cuberoot.cpp:4:11: note: to match this ‘{’
4 | int main(){
| ^