码迷,mamicode.com
首页 >  
搜索关键字:palindromes    ( 345个结果
小白书训练-Palindromes
题目链接:http://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&page=show_problem&problem=342 题意镜像和回文串判断 代码: #include #include using namespace std; int main() { char s[30]; w...
分类:其他好文   时间:2014-11-30 23:17:11    阅读次数:196
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 thinki...
分类:其他好文   时间:2014-11-30 22:55:07    阅读次数:272
uva 1548 Partitioning by Palindromes(动态规划)
#include #include #include #define N 1002 using namespace std; int f[N]; bool d[N][N]; /* 如果(i,j)回文(i>t; while(t--) { string s; cin>>s; n=s.length(); ...
分类:其他好文   时间:2014-11-28 21:26:20    阅读次数:234
Palindromes _easy version
Palindromes _easy version Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others) Total Submission(s): 22866 Accepted Submission(s): 14213 Problem Description “回文串”是一个...
分类:其他好文   时间:2014-11-28 10:17:54    阅读次数:149
[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? (i...
分类:其他好文   时间:2014-11-27 06:44:59    阅读次数:215
USACO 1.2 Dual Palindromes (回文,进制转换)
废话不哆嗦,贴代码: /* ID:twd30651 PROG:dualpal LANG:C++ */ #include #include #include #include using namespace std; char s[100]; int N,S; void gs(int num,int BASE) { int index=0; while(num/BASE...
分类:其他好文   时间:2014-11-25 23:42:41    阅读次数:260
UVa 401 Palindromes 回文词
A regular palindrome is a string of numbers or letters that is the same forward as backward. For example, the string"ABCDEDCBA"is a palindrome because...
分类:其他好文   时间:2014-11-17 15:45:48    阅读次数:161
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 thinki...
分类:其他好文   时间:2014-11-15 09:58:31    阅读次数:222
Uva 11584 - Partitioning by Palindromes dp
Problem H: Partitioning by Palindromes We say a sequence of characters is a palindrome if it is the same written forwards and backwards. For example, 'racecar' is a palindrome, but 'fastcar' is not...
分类:其他好文   时间:2014-11-09 18:08:19    阅读次数:140
UVA 11584 Quick access, info and search.
Problem H: Partitioning by Palindromes We say a sequence of characters is a palindrome if it is the same written forwards and backwards. For example, 'racecar' is a palindrome, but 'fastcar' is not...
分类:数据库   时间:2014-11-08 15:16:07    阅读次数:150
345条   上一页 1 ... 28 29 30 31 32 ... 35 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!