放置两个DIV:初始DIV :在Repetr绑定设置文字隐藏(三元运算符):'11?Eval("字段2").ToString().Substring(0,10)+"…":Eval("字段2").ToString() %>' 详情DIV :默认display:none,height:auto;over...
分类:
Web程序 时间:
2015-12-08 16:06:20
阅读次数:
151
题目:Given a string, find the length of the longest substring without repeating characters. For example, the longest substring without repeating letters...
分类:
其他好文 时间:
2015-12-08 15:53:31
阅读次数:
151
Total Accepted:82026Total Submissions:379898Difficulty:MediumGiven a stringS, find the longest palindromic substring inS. You may assume that the maxi...
分类:
其他好文 时间:
2015-12-07 22:48:22
阅读次数:
294
Given a string, find the length of the longest substring without repeating characters. For example, the longest substring without repeating letters fo...
分类:
其他好文 时间:
2015-12-07 20:30:10
阅读次数:
183
题意:给你 k 个模板串,然后给你一些字符的出现概率,然后给你一个长度 l ,问你这些字符组成的长度为 l 的字符串不包含任何一个模板串的概率。思路:AC自动机+概论DP首先用K个模板构造好AC自动机。题目上说长L的新串的子串不包含任何一个K串,其实就是说在构造好的树中,从根往下走L步都不包含K个模...
分类:
其他好文 时间:
2015-12-06 22:46:49
阅读次数:
472
String locating is a very common operation not only in the SQL design but also in the client development tools, in which functions are also supplied to realize the locating operation, such as the ‘LOCATE’ function in DB2 or ‘POS function in DELPHI.
In fac...
分类:
其他好文 时间:
2015-12-04 09:15:27
阅读次数:
109
Given a stringS, find the longest palindromic substring inS. You may assume that the maximum length ofSis 1000, and there exists one unique longest pa...
分类:
其他好文 时间:
2015-12-03 21:24:33
阅读次数:
220
location.href = location.href.substring(0,location.href.lastIndexOf('?'))+'?typeId=' + fid + '&page=' + page;其实这样写就可以了:location.href ='?typeId=' + fid...
分类:
Web程序 时间:
2015-12-02 18:03:47
阅读次数:
180
S.find(substring,[start[end]])#可指范围查找子串,返回索引值,否则返回-1例如>>>b = 'abcd'>>> b.find('d')3>>> b.find('d',2,4)3>>> b.find('d',3,4)3>>> b.find('d',2,3)-1可见当指定范...
分类:
编程语言 时间:
2015-12-02 14:09:30
阅读次数:
115
var num1 = " "; var num2 = infoData[0].Remark.indexOf(""); var str = infoData[0].Remark.substring(num1.length, num2);
分类:
其他好文 时间:
2015-12-01 18:01:17
阅读次数:
145