int main() { double x1,y1,x2,y2;//第一个长方形的坐标 double s1,t1,s2,t2;//第二个长方形坐标 double x,y; double t; double s; scanf("%lf%lf%lf%lf",&x1,&y1,&x2,&y2); scanf("%lf%lf%lf%lf",&s1,&t1,&s2,&t2); /*将两个长方形坐标转换为对应左下角与右上角*/ if(x...
double min(double x,double y) { double min; if(x<y) min=x; else min=y; return min; } int main() { double x1,y1,x2,y2,x3,y3,x4,y4,m1,n1,m2,n2; scanf("%lf%lf%lf%lf",&x1,&y1,&x2,&y2); scanf("%lf%lf%lf%lf",&x3,&y3,&x4,&y4); m1=max(min(x1,x2),min...