1 class Solution { 2 public boolean isRectangleOverlap(int[] rec1, int[] rec2) { 3 if((rec2[0]=rec1[2] && rec2[2]>=rec1[2])) { 4 return false; 5 }else... ...
分类:
其他好文 时间:
2018-10-02 13:57:34
阅读次数:
155
9.1 Separate compilation ) C++ could compile multiple files separately and link them into the final executable program ) You can divide original progr ...
分类:
其他好文 时间:
2018-09-29 23:49:11
阅读次数:
165
我们有 N 个与坐标轴对齐的矩形, 其中 N > 0, 判断它们是否能精确地覆盖一个矩形区域。 每个矩形用左下角的点和右上角的点的坐标来表示。例如, 一个单位正方形可以表示为 [1,1,2,2]。 ( 左下角的点的坐标为 (1, 1) 以及右上角的点的坐标为 (2, 2) )。 示例 1: 示例 2 ...
分类:
其他好文 时间:
2018-09-29 20:18:59
阅读次数:
198
BitAdminCore为没有自主开发框架的小团队,提供快速项目搭建及开发能力。 框架演示:http://bit.bitdao.cn 框架源码:https://github.com/chenyinxin/cookiecutter-bitadmin-core 不解释,直接上代码 ...
分类:
Web程序 时间:
2018-09-27 19:45:22
阅读次数:
235
Description 现在有两个单调递增序列,第一个序列有N个整数,第二个序列有M个整数,现在你可以从第一个序列中选一个数x,然后从第二个序列中选一个数y,那么有多少种情况满足x+y<=K呢? Description 现在有两个单调递增序列,第一个序列有N个整数,第二个序列有M个整数,现在你可以从 ...
分类:
其他好文 时间:
2018-09-27 14:14:19
阅读次数:
170
理解 mousePos - transform.position 鼠标的位置减去挂在此脚本上物体的位置 ...
分类:
移动开发 时间:
2018-09-26 19:12:01
阅读次数:
183
/*#include <iostream>using namespace std; char c[301][301];int t, n, m, sum, x, y; char f(int n,int x,int y,int sum){ if (sum == 0)return c[x][y]; if ...
分类:
其他好文 时间:
2018-09-26 12:17:02
阅读次数:
115