码迷,mamicode.com
首页 >  
搜索关键字:palindromes    ( 345个结果
Uva 10617 Again Palindrome(区间dp)
Again Palindromes Input: Standard Input Output: Standard Output Time Limit: 2 Seconds   A palindorme is a sequence of one or more characters that reads the same from the left as it does from th...
分类:其他好文   时间:2015-01-26 22:50:54    阅读次数:205
[LeetCode]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? (ie, -1) If you are thinking of...
分类:其他好文   时间:2015-01-20 22:21:27    阅读次数:153
LeetCode 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? (ie, -1) If you are thinking of convertin...
分类:其他好文   时间:2015-01-12 00:25:55    阅读次数:197
HDU2029 Palindromes _easy version【回文串】【水题】
思路:从中间分开,判断左右的字符是否相等,如果相等就继续循环判断,不相等就跳出。 如果左右下标都到头了,则是回文串,否则就不是。...
分类:其他好文   时间:2015-01-03 13:14:06    阅读次数:143
LeetCode Problem 9: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...
分类:其他好文   时间:2014-12-24 19:57:39    阅读次数:127
Palindrome Number -- leetcode
Determine whether an integer is a palindrome. Do this without extra space. click to show spoilers. Some hints: Could negative integers be palindromes? (ie, -1) If you are thinking of convertin...
分类:其他好文   时间:2014-12-15 09:03:15    阅读次数:154
Codeforces Round #265 (Div. 1)
ANo to Palindromes!题意:给一个长度为n的用前m个字符构成的字符串,定义一个字符串是好的当且仅当他的每个子串都不是回文的,现在给出一个好的字符串,求比他字典序大的第一个好的字符串。题解:从后往前每一位枚举,若把当前枚举的位改成ch后为好的串,只需要判断他和他前面的一个字符是否相同构...
分类:其他好文   时间:2014-12-11 00:03:20    阅读次数:191
武汉科技大学ACM :1004: 零起点学算法74——Palindromes _easy version
Problem Description “回文串”是一个正读和反读都一样的字符串,比如“level”或者“noon”等等就是回文串。请写一个程序判断读入的字符串是否是“回文”。Input输入包含多个测试实例,输入数据的第一行是一个正整数n,表示测试实例的个数,后面紧跟着是n个字符串。每个字符串长度不...
分类:编程语言   时间:2014-12-09 22:40:05    阅读次数:199
UVA 401-Palindromes(模拟)
Palindromes Time Limit:3000MS     Memory Limit:0KB     64bit IO Format:%lld & %llu Submit Status Description A regular palindrome is a string of numbers or letters that is the same for...
分类:其他好文   时间:2014-12-08 09:21:11    阅读次数:187
UVA - 401-Palindromes
题目链接:Palindromes UVA - 401 Palindromes Time Limit:3000MS   Memory Limit:Unknown   64bit IO Format:%lld & %llu SubmitStatus Description A regular palindrome is a...
分类:其他好文   时间:2014-12-01 19:19:29    阅读次数:203
345条   上一页 1 ... 27 28 29 30 31 ... 35 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!