Find a maximum sum of a compact subsequence of array elements and any double slice.
                            
                            
                                分类:
其他好文   时间:
2014-07-06 20:44:45   
                                阅读次数:
351
                             
                    
                        
                            
                            
                                1. Copying Elements OutputIter copy(InputIter sourceBeg, InputIter sourceEnd, OutputIter destBeg); OutputIter copy_if(InputIter sourceBeg, InputIter s...
                            
                            
                                分类:
其他好文   时间:
2014-07-06 18:01:25   
                                阅读次数:
198
                             
                    
                        
                            
                            
                                SubsetsTotal Accepted:13267Total Submissions:48509My SubmissionsGiven a set of distinct integers,S, return all possible subsets.Note:Elements in a sub...
                            
                            
                                分类:
其他好文   时间:
2014-07-06 17:50:21   
                                阅读次数:
170
                             
                    
                        
                            
                            
                                一、时序图简介(Brief introduction) 二、时序图元素(Sequence Diagram Elements)角色(Actor)对象(Object)生命线(Lifeline)控制焦点(Focus of Control)消息(Message)自关联消息(Self-Message)Com....
                            
                            
                                分类:
其他好文   时间:
2014-07-06 13:38:54   
                                阅读次数:
254
                             
                    
                        
                            
                            
                                Given an array and a value, remove all instances of that value in place and return the new length.The order of elements can be changed. It doesn't mat...
                            
                            
                                分类:
其他好文   时间:
2014-07-06 13:38:13   
                                阅读次数:
168
                             
                    
                        
                            
                            
                                一、智能指针
       tr1::shared_ptr和tr1::weak_ptr。前者的作用有如内置指针,但会记录有多少个tr::shared_ptrs共同指向同一个对象,这便是所谓的引用计数。一旦最后一个这样的指针被销毁,也就是一旦某一个对象的引用计数为0,这个对象会被自动删除。这在非环形数据结构中防止资源泄露很有帮助,但如果两个或多个对象内含tr1::shared_ptrs并形成环状,...
                            
                            
                                分类:
其他好文   时间:
2014-07-06 11:43:58   
                                阅读次数:
186
                             
                    
                        
                            
                            
                                sql语句中BEGIN TRAN...COMMIT TRAN...
                            
                            
                                分类:
数据库   时间:
2014-07-06 11:07:13   
                                阅读次数:
224
                             
                    
                        
                            
                            
                                warning: shared library text segment is not shareable
error: treating warnings as errors
最近在调试一个Gsensor, 代码是从android4.2上直接移植过来的。但却一直编译不过, 纳闷了。。。
 baidu不行
 google 又访问不了,真是操蛋
 但是终究还是找到了点有用的信息,说是编译器...
                            
                            
                                分类:
其他好文   时间:
2014-07-06 09:20:15   
                                阅读次数:
292
                             
                    
                        
                            
                            
                                执行启动nginx:/usr/local/nginx/sbin/nginx  
 错误:/usr/local/nginx/sbin/nginx: error while loading shared libraries: libpcre.so.1: cannot open shared object file: No such file or directory  
  查找:[roo...
                            
                            
                                分类:
其他好文   时间:
2014-07-06 00:11:52   
                                阅读次数:
205
                             
                    
                        
                            
                            
                                1. automic differentation的含义2. constant folding3. memory aliasing4. broadcasting 是个难点5. shared variable6. function函数7.
                            
                            
                                分类:
其他好文   时间:
2014-07-05 17:51:00   
                                阅读次数:
325