码迷,mamicode.com
首页 >  
搜索关键字:palindrome    ( 1561个结果
s-palindrome
s-palindrome s-palindrome Let's call a string "s-palindrome" if it is symmetric about the middle of the string. For example, the string "oHo" is "s-pa ...
分类:其他好文   时间:2016-07-14 07:06:09    阅读次数:231
UVA 12050 - Palindrome Numbers 模拟
题目大意:给出i,输出第i个镜像数,不能有前导0. 题解:从外层开始模拟 ...
分类:其他好文   时间:2016-07-13 11:57:18    阅读次数:148
336. Palindrome Pairs
...
分类:其他好文   时间:2016-07-11 07:53:24    阅读次数:126
Valid Palindrome
Given a string, determine if it is a palindrome, considering only alphanumeric characters and ignoring cases. Notice Have you consider that the string ...
分类:其他好文   时间:2016-07-10 23:15:57    阅读次数:163
【Leetcode】Palindrome Pairs
题目链接:https://leetcode.com/problems/palindrome-pairs/ 题目: Given a list of unique words. Find all pairs of distinct indices (i, j) in the given list, so that the concatenation of the two words, ...
分类:其他好文   时间:2016-07-10 18:48:22    阅读次数:186
hdu 5062(水题)
Beautiful Palindrome Number Time Limit: 3000/1500 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 1067 Accepted Submiss ...
分类:其他好文   时间:2016-07-09 23:47:01    阅读次数:390
E - Lovely Palindromes
Description Pari has a friend who loves palindrome numbers. A palindrome number is a number that reads the same forward or backward. For example 12321 ...
分类:其他好文   时间:2016-07-09 16:24:37    阅读次数:137
Palindrome Partitioning I & II
Given a string s, partition s such that every substring of the partition is a palindrome. Return all possible palindrome partitioning of s. Given a st ...
分类:其他好文   时间:2016-07-09 10:31:16    阅读次数:140
Palindrome Permutation
...
分类:其他好文   时间:2016-07-07 17:08:29    阅读次数:96
Palindrome Degree(CodeForces 7D)—— hash求回文
学了kmp之后又学了hash来搞字符串。这东西很巧妙,且听娓娓道来。 这题的题意是:一个字符串如果是回文的,那么k值加1,如果前一半的串也是回文,k值再加1,以此类推,算出其k值。打个比方abaaba,k值为3,abaxxaba,k值为1。现在,给出一个串,让你求这个串的所有前缀(包括本身)的k值的 ...
分类:其他好文   时间:2016-07-06 21:33:06    阅读次数:155
1561条   上一页 1 ... 62 63 64 65 66 ... 157 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!