码迷,mamicode.com
首页 >  
搜索关键字:letters    ( 1345个结果
AC自动机+DP 改变字符串中的‘?’使得在字典中匹配到的次数最多 codechef Lucy and Question Marks
the best way to restore is to replace all the question marks by latin letters in such a way that the total sum of occurrences of all the strings from her dictionary in it is maximal....
分类:其他好文   时间:2015-08-19 16:44:56    阅读次数:212
最长无重复字符子串
1 题目 Given a string,find the length of the longest substring without repeating characters. Forexample, the longest substring without repeating letters for"abcabcbb" is "abc", which the length is 3. F...
分类:其他好文   时间:2015-08-19 11:14:04    阅读次数:167
[LeetCode] Longest Substring Without Repeating Characters
Given a string, find the length of the longest substring without repeating characters. For example, the longest substring without repeating letters fo...
分类:其他好文   时间:2015-08-18 18:02:56    阅读次数:198
3.Longest Substring Without Repeating Characters
题目 Given a string, find the length of the longest substring without repeating characters. For example, the longest substring without repeating letters for "abcabcbb" is "abc", which the length is 3...
分类:其他好文   时间:2015-08-17 06:33:30    阅读次数:232
UVa 401 - Palindromes
https://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&page=show_problem&problem=342A regular palindrome is a string of numbers or letters that is the same forward as backward. For examp...
分类:其他好文   时间:2015-08-16 16:42:58    阅读次数:129
SPOJ NSUBSTR - Substrings
NSUBSTR - Substringsno tagsYou are given a string S which consists of 250000 lowercase latin letters at most. We define F(x) as the maximal number of ...
分类:其他好文   时间:2015-08-14 21:05:34    阅读次数:228
【UVa 156】Ananagrams
AnanagramsMost crossword puzzle fans are used toanagrams--groups of words with the same letters in different orders--for example OPTS, SPOT, STOP, POT...
分类:其他好文   时间:2015-08-14 13:34:41    阅读次数:155
基于phpExcel写的excel类(导出为Excel)
1 letters=range('A','Z',1);23 $this->php_excel=new PHPExcel();24 $this->php_excel->setActiveSheetIndex(0);25 $this->active_sheet=$this->php_excel->ge....
分类:Web程序   时间:2015-08-13 01:04:03    阅读次数:173
经典PHP笔试题
1.考虑如下脚本。标记处应该添加什么代码才能让脚本输出字符串php?$alpha = 'abcdefghijklmnopqrstuvwxyz';$letters = array(15, 7, 15);foreach($letters as $val){/* 这里应该加入什么 */}?>A.echo ...
分类:Web程序   时间:2015-08-11 22:49:55    阅读次数:245
hiho一下 第五十八周 Beautiful String dp
题目1 : Beautiful String 时间限制:10000ms 单点时限:1000ms 内存限制:256MB 描述 We say a string is beautiful if it has the equal amount of 3 or more continuous letters (in increasing order.) H...
分类:其他好文   时间:2015-08-09 17:19:59    阅读次数:138
1345条   上一页 1 ... 90 91 92 93 94 ... 135 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!