請問第5個冊資究竟是什麼?一直不過....
#include<stdio.h>
#include<math.h>
void fly ()
{
double x1,y1,x2,y2,x3,y3;
double con;
double value;
double homelong;
double firelong;
scanf("%lf",&x1);
scanf("%lf",&y1);
scanf("%lf",&x2);
scanf("%lf",&y2);
scanf("%lf",&x3);
scanf("%lf",&y3);
con=(y2-y1)*x1-(x2-x1)*y1;
value=(y2-y1)*x3-(x2-x1)*y3-con;
homelong=sqrt((x2-x1)*(x2-x1)+(y2-y1)*(y2-y1));
firelong=sqrt((x3-x1)*(x3-x1)+(y3-y1)*(y3-y1));
if((value==0)&&(homelong>firelong))
printf("該死的東西!竟敢想讓我死!\n");
else
printf("父親大人!母親大人!我快到了!\n");
return;
}
int main()
{
int n;
int i;
while(scanf("%d",&n)!=EOF){
for(i=0;i<n;i++)
fly();
}
return 0;
}