其他分享
首页 > 其他分享> > Leetcode 223. 矩形面积

Leetcode 223. 矩形面积

作者:互联网

Leetcode 223. 矩形面积

package com.bingoabin.algorithm.math;

/**
 * @Author: xubin34
 * @Date: 2021/9/30 10:00 上午
 * @CopyRight: sankuai.com
 * @Description:
 */
public class ComputeArea {
   
	//Leetcode 223. 矩形面积
	//示例:输入:ax1 = -3, ay1 = 0, ax2 = 3, ay2 = 4, bx1 = 0, by1 = -1, bx2 = 9, by2 = 2   输出:45
	//分析:给出坐标系中的4个点,分别是左下 右上点 表示一个矩形  另外一个也是表示左上 右上点的矩形 求两个

标签:com,面积,右上,矩形,223,Leetcode
来源: https://blog.csdn.net/bingoxubin/article/details/120576473