hdu_problem_2056_ Rectangles

题目大意:给两个矩形对角线上的点(主对角线或者副对角线),求两个矩形重叠部分的面积。 输入:每一行都是八个数字,对应4个点。 输出:输出重叠的面积,精确到小数点后两位。 方法: /* * *Problem Description *Given two rectangles and the coordinates of two points on the diagonals of each rect
相关文章
相关标签/搜索