码迷,mamicode.com
首页 >  
搜索关键字:palindromes    ( 345个结果
9. Palindrome Number
Determine whether an integer is a palindrome. Do this without extra space. Some hints: Could negative integers be palindromes? (ie, -1) ...
分类:其他好文   时间:2016-05-30 10:01:28    阅读次数:192
11584 - Partitioning by Palindromes——[DP]
题意分析: 题目比较容易理解,以d[i]表示前i个字符的最优解,状态转移方程 d[i]=min{d[j]+1| [j+1~i]为回文串} 代码如下: ...
分类:其他好文   时间:2016-05-20 19:17:33    阅读次数:144
9. Palindrome Number
Determine whether an integer is a palindrome. Do this without extra space. click to show spoilers. Some hints: Could negative integers be palindromes? ...
分类:其他好文   时间:2016-05-20 00:59:52    阅读次数:187
Palindrome Number
Determine whether an integer is a palindrome. Do this without extra space. click to show spoilers. Some hints: Could negative integers be palindromes? ...
分类:其他好文   时间:2016-05-13 10:10:34    阅读次数:126
URAL 2040 Palindromes and Super Abilities 2(回文树)
URAL 2040 Palindromes and Super Abilities 2(回文树)...
分类:其他好文   时间:2016-05-12 15:34:08    阅读次数:162
[bzoj 3676][uoj #103]【APIO2014】Palindromes回文串 后缀数组+manachar
给你一个由小写拉丁字母组成的字符串 ss。我们定义 ss 的一个子串的存在值为这个子串在 ss 中出现的次数乘以这个子串的长度。对于给你的这个字符串 ss,求所有回文子串中的最大存在值。 输入格式一行,一个由小写拉丁字母(a~z)组成的非空字符串 ss。 输出格式输出一个整数,表示所有回文子串中的最大存在值。...
分类:编程语言   时间:2016-04-26 12:44:35    阅读次数:219
9. Palindrome Number Java Solutions
Determine whether an integer is a palindrome. Do this without extra space. click to show spoilers. Some hints: Could negative integers be palindromes? ...
分类:编程语言   时间:2016-04-15 21:43:44    阅读次数:152
[LeetCode]-009-Palindrome_Number
Determine whether an integer is a palindrome. Do this without extra space. Some hints: Could negative integers be palindromes? (ie, -1) If you are thi ...
分类:其他好文   时间:2016-04-15 20:00:38    阅读次数:152
UVA401 - Palindromes
1、题目名称 Palindromes 2、题目地址 https://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&page=show_problem&problem=342 3、题目内容 A regular palindr ...
分类:其他好文   时间:2016-04-15 01:59:58    阅读次数:154
Poi2006 Palindromes
2780: Poi2006 Palindromes Description A word is called a palindrome if we read from right to left is as same as we read from left to right. For exampl ...
分类:其他好文   时间:2016-04-08 18:16:40    阅读次数:429
345条   上一页 1 ... 13 14 15 16 17 ... 35 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!