Givennpoints on a 2D plane, find the maximum
number of points that lie on the same straight line./** * Definition for a
point. * struct Point { * ...
分类:
其他好文 时间:
2014-06-07 00:31:01
阅读次数:
233
原题地址:https://oj.leetcode.com/problems/longest-consecutive-sequence/题意:Given
an unsorted array of integers, find the length of the longest consecutive ...
分类:
编程语言 时间:
2014-06-06 23:13:20
阅读次数:
324
写了个mongodb的gdal
driver,放在了github上,如果你需要,欢迎加入mongogis group。直接的效果是使得QGIS, GeoServer, MapServer,
ArcGIS等GIS软件能够处理存储在MongoDB集群中的地理数据。https://github.com/m...
分类:
数据库 时间:
2014-06-04 15:42:46
阅读次数:
339
When I finished reading this problem,I thought
I could solve it by scan every single subarray in the array,and the time
complexity is cubic.Every su.....
分类:
其他好文 时间:
2014-06-04 15:30:52
阅读次数:
255
感觉有必要把
KMDDOD_INITIALIZATION_DATA
中的这些函数指针的意思解释一下, 以便进一步的深入代码.
DxgkDdiAddDevice
前面已经说过, 这个函数的主要内容是,将BASIC_DISPLAY_DRIVER实例指针存在context中, 以便后期使用, 支持多实例.
DxgkDdiStartDevice
取得设备...
分类:
其他好文 时间:
2014-06-04 13:53:18
阅读次数:
1183
第一种,被调用脚本函数为static类型,调用时直接用脚本名.函数名()。很不实用……第二种,GameObject.Find("脚本所在物体名").SendMessage("函数名");此种方法可以调用public和private类型函数第三种,GameObject.Find("脚本所在物体名").GetComponent<脚本名>().函数名..
分类:
其他好文 时间:
2014-06-04 12:59:13
阅读次数:
307
1.检查系统是否安装iSCSIinitiator[root@justin~]#rpm-qa|grepiscsi
[root@justin~]#
[root@justin~]#mount/dev/cdrom/mnt/
mount:blockdevice/dev/sr0iswrite-protected,mountingread-only
[root@justin~]#cd/mnt/
[root@justinPackages]#find.-name*iscsi*
./iscsi-initiator..
分类:
系统相关 时间:
2014-06-04 12:56:26
阅读次数:
731
Givennpoints on a 2D plane, find the maximum
number of points that lie on the same straight line.public class Solution { /**
* This program is used t....
分类:
其他好文 时间:
2014-06-03 17:05:21
阅读次数:
434
STL的map表里有一个erase方法用来从一个map中删除掉指令的节点eg:map
mapTest;typedef map::iterator ITER;ITER
iter=mapTest.find(key);mapTest.erase(iter);像上面这样只是删除单个节点,map的形为不会出现...
分类:
其他好文 时间:
2014-06-03 16:11:29
阅读次数:
239
Emag eht htiw Em PlehDescriptionThis problem is
a reverse case of the problem 2996. You are given the output of the problem H
and your task is to find...
分类:
其他好文 时间:
2014-06-03 15:33:20
阅读次数:
347