这道题的主要解题思路如下:
第1 步:快速排斥试验,如果分别以P1P2 ,P3P4 为对角线做矩形,而这两个矩形不相交,则这两条线段肯定不相交,如下左图;即使两个矩形相交,这两条线段也不一定相交,如下右图,这时再用第2 步判断;
表示成语句,即两个矩形相交当且仅当下列式子...
分类:
其他好文 时间:
2015-06-04 11:59:33
阅读次数:
140
Last three days, I want to install devstack on my virtual machine on Vmware Workstation.The VM'system is Ubuntu14.04. However,i met too many problem t...
分类:
其他好文 时间:
2015-06-03 17:16:40
阅读次数:
268
pretty much 几乎be responsible for 对xxx负责, PS:responsible 负责的, responsive 响应的 应答的as well 也 also → 比too正式一些, 语气较重, 只用于肯定句, 一般紧靠动词 too → 语气较轻, 多用于口语, 在肯.....
分类:
其他好文 时间:
2015-06-03 15:30:16
阅读次数:
147
( ! ) Warning: printf(): Too few arguments in D:\wamp\www\wp-content\themes\arcadexls\games-play.php on line 97Call Stack# Time Memory Functi...
分类:
Web程序 时间:
2015-06-03 00:47:50
阅读次数:
231
做Android开发的朋友一开始都可能会遇到这个问题:打开Android SDK Manager的时候底下会看到有fetching dl-ssl.google.com…字样,是android SDK Manager在从dl-ssl.google.com拉XML数据,从而知道所有的SDK包。但不幸的是...
分类:
其他好文 时间:
2015-06-02 17:19:28
阅读次数:
104
题目连接http://acm.hdu.edu.cn/showproblem.php?pid=1029Ignatius and the Princess IVDescriptionOK, you are not too bad, em... But you can never pass the nex...
分类:
其他好文 时间:
2015-06-01 22:12:24
阅读次数:
110
PICT是微软推出的一款自动生成测试用例的小工具。体积很小(不到1MB),而且使用起来简单方便。下面通过一个例子展示一下它的能力:根据这些条件, 我们设定的模型如下:User name: NULL, not exist, too long, too short, legalPassword: NUL...
分类:
其他好文 时间:
2015-06-01 11:10:48
阅读次数:
143
Note: This is an extension of House Robber.After robbing those houses on that street, the thief has found himself a new place for his thievery so that he will not get too much attention. This time, all...
分类:
其他好文 时间:
2015-05-30 21:15:01
阅读次数:
152
Description
N (2 <= N <= 8,000) cows have unique brands in the range 1..N. In a spectacular display of poor judgment, they visited the neighborhood 'watering hole' and drank a few too many beers be...
分类:
其他好文 时间:
2015-05-30 12:14:16
阅读次数:
182
1.java.io.FileNotFoundException: ***(Too many open files)2.在Ubuntu 12.04 桌面上设置启动器(快捷方式)3.解决Ubuntu下的Eclipse打开Windows编写的java代码的中文乱码4.Ubuntu 常用命令大全5.Linu...
分类:
系统相关 时间:
2015-05-28 21:19:10
阅读次数:
231