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
                             
                    
                        
                            
                            
                                1.如果是在打开的文档范围内: 查找: Command+ F 替换: Option+Command+F 
Replace All 是全部替换本文档范围内的字符串 Replace 是替换当前字符串 Replace & Find是边查找边替换2.如...
                            
                            
                                分类:
其他好文   时间:
2014-06-06 20:46:03   
                                阅读次数:
184
                             
                    
                        
                            
                            
                                转载:http://blog.sina.com.cn/s/blog_62e7fe670101dg9d.htmlLinux下find一次查找多个指定文件或者排除某类文件,在 
GREP 中匹配多个关键字的方法(1)Linux下find一次查找多个指定文件:查找a.html和b.htmlfind.-nam...
                            
                            
                                分类:
系统相关   时间:
2014-06-06 18:20:03   
                                阅读次数:
345
                             
                    
                        
                            
                            
                                第一种,被调用脚本函数为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
                             
                    
                        
                            
                            
                                Best Time to Buy and Sell Stock IISay you have 
an array for which theithelement is the price of a given stock on dayi.Design an 
algorithm to find the ...
                            
                            
                                分类:
其他好文   时间:
2014-06-02 15:01:53   
                                阅读次数:
305