克拉默法则解二元一次方程组,想请教下哪里错了。想一个小时了

#include
#include<math.h>
using namespace std;
int main()
{int a,b,c,d,e,f;
double x,y,D,D1,D2;
cin>>a>>b>>c>>d>>e>>f;
D=ae-bd;
if(c==0&&f==0){
if(D==0){
cout<<"0 0";
}
else{
D1=ce-bf;
D2=af-cd;
x=D1/D;
y=D2/D;
printf("%.2f %.2f",x,y);
}
}
else if(D==0){
cout<<"-1 -1";
}
else if(D!=0){
D1=ce-bf;
D2=af-cd;
x=D1/D;
y=D2/D;
printf("%.2f %.2f",x,y);}
return 0;

}

D=ae-bd; 你的乘号去哪里了?