substring 方法用于提取字符串中介于两个指定下标之间的字符substring(start,end)开始和结束的位置,从零开始的索引参数 描述start 必需。一个非负的整数,规定要提取的子串的第一个字符在 stringObject 中的位置。stop 可选。一个非负的整数,比要提取的子...
分类:
Web程序 时间:
2014-10-21 19:18:17
阅读次数:
184
利用MySQL GROUP_CONCAT函数实现聚合乘法。...
分类:
数据库 时间:
2014-10-21 15:30:00
阅读次数:
263
sql 与 oracle 之间的 语法差别。 简单的几个函数转换 sql-> Up_Time=getdate(), isnull(), substring(), charindex(), len(), oracle-> Up_Time=sysdate, nvl()...
分类:
数据库 时间:
2014-10-21 15:17:40
阅读次数:
227
1 function S4() {2 return (((1 + Math.random()) * 0x10000) | 0).toString(16).substring(1);3 }4 function NewGuid() {5 return (S4() + S4() + "-"...
分类:
Web程序 时间:
2014-10-21 12:09:24
阅读次数:
216
题目:Given a string, find the length of the longest substring without repeating characters. For example, the longest substring without repeating letters...
分类:
其他好文 时间:
2014-10-20 21:11:05
阅读次数:
203
Given a string s, partition s such that every substring of the partition is a palindrome.Return all possible palindrome partitioning of s.For example,...
分类:
其他好文 时间:
2014-10-20 18:53:45
阅读次数:
236
Longest Ordered SubsequenceTime Limit: 2000msMemory Limit: 65536KBThis problem will be judged onPKU. Original ID:253364-bit integer IO format:%lld Jav...
分类:
其他好文 时间:
2014-10-20 11:28:21
阅读次数:
174
Given a string s, partition s such that every substring of the partition is a palindrome.Return the minimum cuts needed for a palindrome partitioning ...
分类:
其他好文 时间:
2014-10-20 07:33:59
阅读次数:
234
AC自动机的题,需要注意的,建立失配边的时候,如果结点1失配边连到的那个结点2,那个结点2是一个单词的结尾,那么这个结点1也需要标记成1(因为可以看成,这个结点包含了这个单词),之后在Trie树上进行行走,每次走到下一个可以走的结点。
14378527
11468
Substring
Accepted
C++
0.585
2014-...
分类:
其他好文 时间:
2014-10-19 20:02:42
阅读次数:
207
Language:
Default
Longest Ordered Subsequence
Time Limit: 2000MS
Memory Limit: 65536K
Total Submissions: 33986
Accepted: 14892
Description
A numeric sequence of a...
分类:
其他好文 时间:
2014-10-19 11:38:30
阅读次数:
249