Problem mathexam
User wayne
Submission Time 2024-01-19 15:31:12
Score 0
Max Time N/A
Max Memory N/A

Compile Error

mathexam.cpp: In function ‘int main()’:
mathexam.cpp:34:70: error: expected ‘;’ before ‘)’ token
34 | x=(-b[i]+sqrt(b[i]*b[i]-4*a[i]*(a[i]-b[i])))/(2*a[i])){
| ^
| ;
mathexam.cpp:46:1: error: expected ‘}’ at end of input
46 | }
| ^
mathexam.cpp:3:12: note: to match this ‘{’
3 | int main() {
| ^