题目链接:点击打开链接
题意:
第一行 n m
n个vector
下面n行 第一个数字u表示vector 的大小,然后后面u个数字给出这个vector
最后一行m个数字
表示把上面的vector拼接起来
得到一个大序列,求这个大序列的最大子段和
先预处理出每个vector的最大子段和,左起连续最大,右起连续最大,所有数的和
然后dp 一下。。
#include ...
                            
                            
                                分类:
其他好文   时间:
2014-08-13 18:55:07   
                                阅读次数:
266
                             
                    
                        
                            
                            
                                今天实施同事报现场有一个节点无法访问,把现场的weblogic日志拿回来,显示如下:
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
    <Unable to create a server socket for...
                            
                            
                                分类:
编程语言   时间:
2014-08-13 18:45:57   
                                阅读次数:
259
                             
                    
                        
                            
                            
                                Insertion Sort is a simple sorting technique which was covered in previous challenges. Sometimes, arrays may be too large for us to wait around for in...
                            
                            
                                分类:
其他好文   时间:
2014-08-12 18:13:14   
                                阅读次数:
404
                             
                    
                        
                            
                            
                                返回受上一语句影响的行数。如果行数大于 20 亿,请使用ROWCOUNT_BIG。语法@@ROWCOUNT 返回类型 int注释Transact-SQL 语句可以通过下列方式设置@@ROWCOUNT 的值:将 @@ROWCOUNT 设置为受影响或被读取的行的数目。可以将行发送到客户端,也可以不发送。...
                            
                            
                                分类:
数据库   时间:
2014-08-12 18:09:24   
                                阅读次数:
337
                             
                    
                        
                            
                            
                                ./home/zlog/move.php原数据库名:(查询方法:以前ftp里看configure.php)目的数据库名 (刚新建的)原站用户名:目的站用户名(刚新建的)目的数据库用户名(刚新建的)目的数据库密码(刚新建的)完成!!-----------------------------------...
                            
                            
                                分类:
其他好文   时间:
2014-08-12 10:12:53   
                                阅读次数:
167
                             
                    
                        
                            
                            
                                Solution:Apparently, I am too naive and I think too few. Here's the detailed solution.What is our chat server?This is something you should discuss wit...
                            
                            
                                分类:
其他好文   时间:
2014-08-12 05:53:23   
                                阅读次数:
210
                             
                    
                        
                            
                            
                                [2010-07-12 10:10:06 - Hello Google Android]ActivityManager: DDM dispatch reg wait timeout [2010-07-12 10:10:06 - Hello Google Android]ActivityManager...
                            
                            
                                分类:
其他好文   时间:
2014-08-12 00:37:33   
                                阅读次数:
189
                             
                    
                        
                            
                            
                                Description
One cow from each of N farms (1 ≤ N ≤ 1000) conveniently numbered 1..N is going to attend the big cow party to be held at farm #X (1 ≤ X ≤ N). A total of M (1 ≤ M ≤ 100,000) unidirectio...
                            
                            
                                分类:
其他好文   时间:
2014-08-11 21:23:43   
                                阅读次数:
303
                             
                    
                        
                            
                            
                                Cow Exhibition
Time Limit: 1000MS
 
Memory Limit: 65536K
Total Submissions: 9067
 
Accepted: 3441
Description
"Fat and docile, big and dumb, they look so stupid, they aren'...
                            
                            
                                分类:
其他好文   时间:
2014-08-11 17:58:32   
                                阅读次数:
299
                             
                    
                        
                            
                            
                                Problem Description
Recently, Shua Shua had a big quarrel with his GF. He is so upset that he decides to take a trip to some other city to avoid meeting her. He will travel only by air and he can g...
                            
                            
                                分类:
其他好文   时间:
2014-08-11 17:48:42   
                                阅读次数:
353