- 博客(3)
- 收藏
- 关注
原创 Git学习网站
https://www.liaoxuefeng.com/wiki/0013739516305929606dd18361248578c67b8067c8c017b000/001374385852170d9c7adf13c30429b9660d0eb689dd43a000
2017-09-08 15:09:28
174
翻译 求两个圆交叉区域面积
思路:先判断两个圆是否相交,半径分别为R,r不相交(包括相切):两圆心距离d>=(R+r)相交1:两圆心距离d<=|R-r|,一个圆在另一个圆内,所求面积为小圆面积相交2:两圆心距离|R-r|public double Area(int x1,int y1,int r1,int x2,int y2,int r2){ double s,p,l,ans; in
2017-08-30 17:14:48
2657
原创 LeetCode之机器人移动(动态规划)
题目描述A robot is located at the top-left corner of a m x n grid (marked ‘Start’ in the diagram below). The robot can only move either down or right at any point in time. The robot is trying to reach the
2017-07-18 18:02:48
1382
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人