DescriptionGiven a sequence a[1],a[2],a[3]......a[n], your job is to calculate the max sum of a sub-sequence. For example, given (6,-1,5,4,-7), the ma...
分类:
其他好文 时间:
2015-08-11 18:12:54
阅读次数:
104
' 合并某一列中相同数据的单元格Sub MergeColumns() Dim rowN As Integer Dim i, j, m, n As Integer Dim col As Integer col = 2 ' 合并哪一列的单元格 ...
分类:
编程语言 时间:
2015-08-11 17:58:37
阅读次数:
109
DELIMITER $$CREATE/*[DEFINER = { user | CURRENT_USER }]*/EVENT `dev_sp2p6`.`e_test1`ON SCHEDULEEVERY 1 MONTH STARTS DATE_ADD(DATE_ADD(DATE_SUB(CURDATE...
分类:
数据库 时间:
2015-08-11 17:45:24
阅读次数:
151
1040. Longest Symmetric String (25)Given a string, you are supposed to output the length of the longest symmetric sub-string. For example, given "Is P...
分类:
其他好文 时间:
2015-08-11 15:33:47
阅读次数:
102
正则表达式包re match,search,sub re.match(pattern, string, flags=0) re.search(pattern, string, flags=0) re.sub(pattern, repl, string, max=0) re.split(pattern...
分类:
编程语言 时间:
2015-08-11 13:53:28
阅读次数:
133
DescriptionGiven a sequence a[1],a[2],a[3]......a[n], your job is to calculate the max sum of a sub-sequence. For example, given (6,-1,5,4,-7), the ma...
分类:
其他好文 时间:
2015-08-11 09:52:04
阅读次数:
111
下表是在通过网络视频学习时,别人整理的。放在此处,以便以后需要。capitalize()把字符串的第一个字符改为大写casefold()把整个字符串的所有字符改为小写center(width)将字符串居中,并使用空格填充至长度 width 的新字符串count(sub[, start[, end]]...
分类:
编程语言 时间:
2015-08-11 08:29:40
阅读次数:
130
VBScript过程 被封装在Sub和End Sub语句之中的一系列语句 不具有返回值 可带参数 我们的SubFunction.asp中展示了Sub的用法,代码如下: " Call mySub("Hello,", "World") %> VBScript函数 被封装在Function和End Fun...
分类:
Web程序 时间:
2015-08-10 23:50:32
阅读次数:
189
Description
Given a sequence a[1],a[2],a[3]......a[n], your job is to calculate the max sum of a sub-sequence. For example, given (6,-1,5,4,-7), the max sum in this sequence is 6 + (-1) + 5 + 4 = 1...
分类:
其他好文 时间:
2015-08-10 22:14:59
阅读次数:
163
DescriptionGiven a sequence a[1],a[2],a[3]......a[n], your job is to calculate the max sum of a sub-sequence. For example, given (6,-1,5,4,-7), the ma...
分类:
其他好文 时间:
2015-08-10 21:53:03
阅读次数:
135