题目:Given n non-negative integers a1, a2, ..., an, where each represents a point at coordinate (i, ai). n vertical lines are drawn such that the two e....
分类:
编程语言 时间:
2014-07-27 11:04:52
阅读次数:
278
单例模式目的:Ensure a class only has one instance, and provide a global point of access toit.保证一个类仅有一个实例,并提供一个访问它的全局访问点。C++实现在类中,定义一个私有静态成员对象;将构造函数也定义为私有的,保...
分类:
其他好文 时间:
2014-07-27 10:25:12
阅读次数:
235
1. [代码][HTML]代码 Craps game浏览器不支持HTML5的canvas元素http://www.huiyi8.com/donghua/?Throw diceflashStage:Point:Outcome:
分类:
编程语言 时间:
2014-07-27 09:48:02
阅读次数:
431
1Set up vimdiffThe vimdiff as a merge tool will display several buffers to show the yours/theirs/original changes.The key point is to set up the vimdi...
分类:
其他好文 时间:
2014-07-26 14:39:01
阅读次数:
280
内部也是相交#include #include #include #include using namespace std;struct point{ int x,y;};struct edge{ point start,end;}line[4],the;void swaped(int &x,int...
分类:
其他好文 时间:
2014-07-26 14:31:00
阅读次数:
272
-> 运算符将指针取消引用与成员访问组合在一起。 x->y 其中 x 为 T* 类型的指针,y 为 T 的成员 等效于 (*x).y 只能在标记为不安全的代码中使用 -> 运算符。不能重载 -> 运算符。 // compile with: /unsafestruct Point{ public in...
分类:
其他好文 时间:
2014-07-26 14:03:52
阅读次数:
194
OEP:(Original Entry Point),程序的入口点,软件加壳就是隐藏了OEP(或者用了假的OEP), 只要我们找到程序真正的OEP,就可以立刻脱壳。 PUSHAD (压栈) 代表程序的入口点POPAD (出栈) 代表程序的出口点,与PUSHAD相对应,一般找到这个OEP就在附近啦!常...
分类:
其他好文 时间:
2014-07-26 01:44:16
阅读次数:
249
DECLARE @g geography;SET @g = geography::STPointFromText('POINT(113.216273 23.236333)', 4326);SELECT @g.ToString();DECLARE @gg geography;SET @gg = geo...
分类:
数据库 时间:
2014-07-24 22:24:22
阅读次数:
525
转自:http://www.bawo.me/point-of-view/jzydppbswebys-375.html导语:这里,说App必死,Web永生,是指目前这种需要下载和安装的移动互联网应用模式,必然衰落(但不会衰亡),而代之崛起的是基于html和浏览器的应用,必会卷土重来,重新占据移动和整个...
分类:
Web程序 时间:
2014-07-24 14:44:05
阅读次数:
286
题目链接:点击打开链接
gg。。。
#pragma comment(linker, "/STACK:1024000000,1024000000")
#include
#include
#include
#include
#include
#include
#include
using namespace std;
#define ll int
#define point Poin...
分类:
其他好文 时间:
2014-07-24 12:24:55
阅读次数:
256