题目:Givennpoints on a 2D plane, find the maximum 
number of points that lie on the same straight 
line.算法分析:定义最大直线为符合相同条件的直线中通过点最多的那条直线。对每个点p,计算其它的点与p形成的...
                            
                            
                                分类:
其他好文   时间:
2014-05-16 23:26:31   
                                阅读次数:
389
                             
                         
                    
                        
                            
                            
                                变量:javascript变量可以用来保存两种类型的值:基本类型和引用类型。基本类型包括:Undefined,Null,Boolean,Number(用于所有的数值包括整数和浮点型) 
和String。这两者的特点是:1.基本类型值在内存中占用固定大小的空间,一次被保存到栈的内存中;2.从一个变量向里...
                            
                            
                                分类:
编程语言   时间:
2014-05-16 20:53:04   
                                阅读次数:
307
                             
                         
                    
                        
                            
                            
                                #include#include#includeusing namespace std;const 
double PRECISION = 1E-6;const int COUNT = 4;const int RESULT = 24;double 
number[COUNT]; //这里一定要用...
                            
                            
                                分类:
编程语言   时间:
2014-05-16 07:12:29   
                                阅读次数:
350
                             
                         
                    
                        
                            
                            
                                --创建表create table employee(	userId number not 
null,	userName varchar2(50),	pwd varchar2(50),	email varchar2(100),	clazz 
number);--向表中插入数据INSERT INTO e...
                            
                            
                                分类:
其他好文   时间:
2014-05-16 06:53:08   
                                阅读次数:
331
                             
                         
                    
                        
                            
                            
                                题目: Givennpoints on a 2D plane, find the maximum 
number of points that lie on the same straight line.解题思路: 
第一反应:枚举两个点组成的直线,然后看其他的点在不在这条直线上,在此过程中统计最大.....
                            
                            
                                分类:
其他好文   时间:
2014-05-16 05:54:57   
                                阅读次数:
193
                             
                         
                    
                        
                            
                            
                                问题起因:某一天下午,团队成员在向svn服务端提交新内容,突然整栋楼断电了,自然,提交的过程被中断了。当时,还没有什么想法。 
等有电后,另外一同事在update项目时,发现无法正常使用svn,一直报异常信息:Invalid filesystem revision numbersvn: 
没...
                            
                            
                                分类:
其他好文   时间:
2014-05-15 15:49:33   
                                阅读次数:
329
                             
                         
                    
                        
                            
                            
                                SQL:CREATE PROCEDURE PagingViewTest( 
@currentPageIndex INT, --页序号 @pageSize INT, --页大小 @pageCount INT OUTPUT 
--返回值,总记录数)ASBEGIN--取总记录数SELECT @p...
                            
                            
                                分类:
数据库   时间:
2014-05-14 13:15:07   
                                阅读次数:
473
                             
                         
                    
                        
                            
                            
                                K-th Number
Time Limit: 20000MS
 
Memory Limit: 65536K
Total Submissions: 35704
 
Accepted: 11396
Case Time Limit: 2000MS
Description
You are working for Macrohard com...
                            
                            
                                分类:
其他好文   时间:
2014-05-13 14:07:41   
                                阅读次数:
203
                             
                         
                    
                        
                            
                            
                                CiscoCUCMallowsyoutoconfiguresinglenumberreach(alsoknownasmobility)sothatacalldestinedforyourdeskphone‘sextensioncanringonanumberofotherdevicessuchasyourcellphone,blackberry,homephone,etc.Thisfeaturealsoallowsyoutoseamlesslytransferanactivecallfromyourcellp..
                            
                            
                                分类:
其他好文   时间:
2014-05-13 12:56:54   
                                阅读次数:
618
                             
                         
                    
                        
                            
                            
                                Prime Ring Problem
Problem Description
A ring is compose of n circles as shown in diagram. Put natural number 1, 2, ..., n into each circle separately, and the sum of numbers in two adjacent...
                            
                            
                                分类:
其他好文   时间:
2014-05-13 11:54:17   
                                阅读次数:
444