Revising Quadratic Equations

In this question I am getting right answer but all the test cases are not passing. why?
Following is my code:
#include
#include<math.h>
using namespace std;
int main() {
int a,b,c;
cin>>a>>b>>c;
int d=bb-4ac;
int r1=(-b+sqrt(d))/2
a;
int r2=(-b-sqrt(d))/2*a;
if(d>0){
cout<<“Real and Distinct”<<endl;
if(r1>r2){
cout<<r2<<" “<<r1;
}
else{
cout<<r1<<” “<<r2;
}
}
else if(d=0){
cout<<“Real and Equal”<<endl;
cout<<r1<<” "<<r2;
}
else{
cout<<“Imaginary”;
}
return 0;

}

Right now i m in collaboration mode

u can check here whats wrong with my code

its been 9 hours plz tell me what wrong with this

hi @discobot ur doubt is not reaching TA please reach out to team,
u can refer

Hi! To find out what I can do, say @discobot display help.

helppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppp

hi @discobot is the querry resolved

Hi! To find out what I can do, say @discobot display help.

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.