码迷,mamicode.com
首页 >  
搜索关键字:palindromes    ( 345个结果
UVa401
B - Palindromes Time Limit:3000MS Memory Limit:0KB 64bit IO Format:%lld & %llu Submit Status Practice UVA 401 uDebug Description A regular palindrome ...
分类:其他好文   时间:2016-08-14 07:04:58    阅读次数:165
URAL 2040 (回文自动机)
Problem Palindromes and Super Abilities 2 题目大意 解题分析 参考程序 1 #include <map> 2 #include <set> 3 #include <stack> 4 #include <queue> 5 #include <cmath> 6 ...
分类:其他好文   时间:2016-08-07 23:13:19    阅读次数:265
Leetcode 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 ...
分类:其他好文   时间:2016-07-31 20:49:29    阅读次数:189
P1217【洛谷FromUSACO】[USACO1.5]回文质数 Prime Palindromes
直接上题——【传送门:http://www.luogu.org/problem/show?pid=1217】 题目来源USACO,NOCOW翻译,洛谷转载,懂(F_Q)的童鞋们可以去USACO官网逛逛……<!———————————下面是原题—————————————————————————————- ...
分类:其他好文   时间:2016-07-30 14:52:41    阅读次数:321
HDU1318 POJ1590 UVA401 ZOJ1325 Palindromes
问题链接:HDU1318 POJ1590 UVA401 ZOJ1325 Palindromes。基础练习题,用C语言编写程序。 程序中,使用两个函数封装功能,使得程序更加简洁易懂。 判定回文时,使用两个数组下标相向移动,是一种常见的套路。 AC的C语言程序如下: /* HDU1318 POJ1590 UVA401 ZOJ1325 Palindromes */ #include #i...
分类:其他好文   时间:2016-07-29 19:08:43    阅读次数:125
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
UVa 401 Palindromes(简单字符串)
简单的判断是否是回文串、镜像串,然后自己写的真费劲,没逃掉刘汝佳的书,这里的代码很有技巧性,特别值得学习,额,其实他书上的代码都很精简 Character Reverse Character Reverse Character Reverse A A M M Y Y B   N   Z 5 C   O O ...
分类:其他好文   时间:2016-06-24 15:15:32    阅读次数:366
【Leetcode】Palindrome Number
题目链接:https://leetcode.com/problems/palindrome-number/ 题目: Determine whether an integer is a palindrome. Do this without extra space. Some hints: Could negative integers be palindromes? (ie...
分类:其他好文   时间:2016-06-12 03:26:28    阅读次数:145
[UVa] Palindromes(401)
Palindromes Time Limit: 3000MS Memory Limit: Unknown 64bit IO Format: %lld & %llu Submit Status Description A regular palindrome is a string of number ...
分类:其他好文   时间:2016-06-09 23:42:54    阅读次数:385
HDOJ/HDU 2163 Palindromes(判断回文串~)
Problem Description Write a program to determine whether a word is a palindrome. A palindrome is a sequence of characters that is identical to the string when the characters are placed in reverse orde...
分类:其他好文   时间:2016-06-05 01:11:00    阅读次数:167
345条   上一页 1 ... 12 13 14 15 16 ... 35 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!