Definition: see 
wikihttp://en.wikipedia.org/wiki/Binary_search_tree 1 /* 2 This look up is a 
fast operation because you eliminate the half 3 t...
                            
                            
                                分类:
其他好文   时间:
2014-07-22 23:06:34   
                                阅读次数:
330
                             
                         
                    
                        
                            
                            
                                Xenia the beginner mathematician is a third year student at elementary school. She is now learning the addition operation.
The teacher has written down the sum of multiple numbers. Pupils should ca...
                            
                            
                                分类:
其他好文   时间:
2014-07-22 23:05:53   
                                阅读次数:
382
                             
                         
                    
                        
                            
                            
                                AF解析json出错:
Error Domain=NSCocoaErrorDomain Code=3840 "The operation couldn’t be completed. (Cocoa error 3840.)"
 (JSON text did not start with array or object and option to allow fragments not set....
                            
                            
                                分类:
其他好文   时间:
2014-07-22 23:04:13   
                                阅读次数:
400
                             
                         
                    
                        
                            
                            
                                今天碰到了一个查询异常问题,上网查了一下,感谢原创和译者如果你使用的数据库连接类是 the Data 
Access Application Blocks "SqlHelper" 或者 SqlClient Class , 你在执行一个很费时的SQL 
操作时候,可能就会碰到下面的超时异常。-------...
                            
                            
                                分类:
其他好文   时间:
2014-05-01 21:31:30   
                                阅读次数:
395
                             
                         
                    
                        
                            
                            
                                简单工厂模式: 
自己的理解:一个类有多种子类,牵涉到要实例化某种子类,用工厂模式来生成对应的实例对象.比如如下的计算器的设计:Operation:操作类的基类 1 class 
Operation 2 { 3 public: 4 Operation(double lhs,double rhs...
                            
                            
                                分类:
其他好文   时间:
2014-05-01 13:17:25   
                                阅读次数:
419
                             
                         
                    
                        
                            
                            
                                注意变换思维,然后就是水题。(如果卡时还可以进一步二分优化。)#include long 
existed[10000][32];int main(void){ int N;// freopen("poj2443.txt", "r", stdin); 
scanf("%d", &N);...
                            
                            
                                分类:
其他好文   时间:
2014-05-01 09:15:47   
                                阅读次数:
373