Problem cuberoot
User WuYanni
Submission Time 2023-11-08 15:01:58
Score 0
Max Time N/A
Max Memory N/A

Compile Error

cuberoot.cpp: In function ‘int32_t main()’:
cuberoot.cpp:8:10: error: lvalue required as left operand of assignment
8 | cbrt(a)=a;
| ^
cuberoot.cpp:9:10: error: lvalue required as left operand of assignment
9 | cbrt(b)=b;
| ^
cuberoot.cpp:10:10: error: lvalue required as left operand of assignment
10 | cbrt(c)=c;
| ^
cuberoot.cpp:11:10: error: lvalue required as left operand of assignment
11 | cbrt(d)=d;
| ^
cuberoot.cpp:12:16: error: expected ‘)’ before ‘b’
12 | cout << (a b c d)
| ~ ^~
| )