码迷,mamicode.com
首页 >  
搜索关键字:palindromic substrin    ( 620个结果
UVA 11404 Palindromic Subsequence
Palindromic SubsequenceTime Limit: 3000msMemory Limit: 131072KBThis problem will be judged onUVA. Original ID:1140464-bit integer IO format:%lld Java ...
分类:其他好文   时间:2014-10-20 16:42:22    阅读次数:136
leetcode第五题--Longest Palindromic Substring
Problem:Given a stringS, find the longest palindromic substring inS. You may assume that the maximum length ofSis 1000, and there exists one unique lo...
分类:其他好文   时间:2014-10-11 02:20:24    阅读次数:227
Palindromic Subsequence(最长回文字符串 输出路径)
初看好简单   一开始调试着一直re   后来也不知道怎么就对了  但是还有一些bug存在   , 这道题的打印路径和light oj An Easy LCS(ps:点击打开链接)一样 但是只改一下会Tle  因为(1000*1000*1000)好大 但是把存储的字符串改为string 定义的就过了 但是还是有一点有点难受(下面会说出) 我也是醉了 #include #include...
分类:其他好文   时间:2014-10-07 02:36:42    阅读次数:405
【Leetcode】Longest Palindromic Substring
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...
分类:其他好文   时间:2014-10-07 00:32:12    阅读次数:237
poj 1221 UNIMODAL PALINDROMIC DECOMPOSITIONS (母函数)
/* 给出一个数n,把它拆分成若干个数的和,要求最大的数在中间并向两边非递增。问拆法有多少种。 母函数。枚举中间的那一个数,因为左右对称,所以只需要求左边部分的方案即可。 注意,左右两部分的取数必须小于中间的数,中间的数是0的话则以n为最大取值。 */ # include # include # include # include typedef long long LL; using ...
分类:其他好文   时间:2014-10-04 23:45:57    阅读次数:190
Longest Palindromic Substring
[leetcode]Given a string S, find the longest palindromic substring in S. You may assume that the maximum length of S is 1000, and there exists one unique longest palindromic substring....
分类:其他好文   时间:2014-10-02 13:30:42    阅读次数:217
[LeetCode] Longest Palindrome Substring 详细分析
Given a string S, find the longest palindromic substring in S. You may assume that the maximum length of S is 1000, and there exists one unique longest palindromic substring. 面DP题的考官都是神经病。。(吐...
分类:其他好文   时间:2014-10-01 13:15:31    阅读次数:242
[Leetcode] Longest Palindromic Substring
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...
分类:其他好文   时间:2014-09-30 17:19:19    阅读次数:173
[ACM] ZOJ 3816 Generalized Palindromic Number (DFS,暴力枚举)
Generalized Palindromic Number Time Limit: 2 Seconds      Memory Limit: 65536 KB A number that will be the same when it is written forwards or backwards is known as a palindromic number. For e...
分类:其他好文   时间:2014-09-28 12:56:12    阅读次数:242
[数位dp] lightoj 1205 Palindromic Numbers
题意:给定范围内是回文数的个数。 思路:...
分类:其他好文   时间:2014-09-24 22:14:18    阅读次数:178
620条   上一页 1 ... 55 56 57 58 59 ... 62 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!