Problem dyingpolynomial
User JJAAMM
Submission Time 2023-09-13 08:49:45
Score 0
Max Time N/A
Max Memory N/A

Compile Error

dyingpolynomial.cpp: In function ‘int main()’:
dyingpolynomial.cpp:18:42: error: expected ‘)’ before ‘C’
18 | sols[i] = (-B[i]+sqrt((B[i])^2-4*A[i]C[i]/D[i])/(2*A[i])
| ~ ^
| )
dyingpolynomial.cpp:18:61: error: expected ‘)’ before ‘}’ token
18 | sols[i] = (-B[i]+sqrt((B[i])^2-4*A[i]C[i]/D[i])/(2*A[i])
| ~ ^
| )
19 | }
| ~
dyingpolynomial.cpp:18:61: error: expected ‘;’ before ‘}’ token
18 | sols[i] = (-B[i]+sqrt((B[i])^2-4*A[i]C[i]/D[i])/(2*A[i])
| ^
| ;
19 | }
| ~