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

Compile Error

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