码迷,mamicode.com
首页 >  
搜索关键字:palindrome number    ( 28272个结果
Leetcode | Palindrome
Valid PalindromeGiven a string, determine if it is a palindrome, considering only alphanumeric characters and ignoring cases.For example,"A man, a pla...
分类:其他好文   时间:2014-05-12 16:27:07    阅读次数:332
HDU 3308 LCIS(线段树)
Problem DescriptionGiven n integers.You have two operations:U A B: replace the Ath number by B. (index counting from 0)Q A B: output the length of the...
分类:其他好文   时间:2014-05-06 01:20:33    阅读次数:332
UVA 10453 Make Palindrome(区间简单DP)
题意:给出一串字符串,求出需要至少插入多少个字符使得这个字符串变成会问粗...
分类:其他好文   时间:2014-05-02 23:26:33    阅读次数:486
nefu 640 Number Guessing
题目:大意就是猜数,给定个四位数,然后给出这个数与正确的数之间的比较(#A*B,#代表有#个数字他的值和位置都对了,*代表有*个数的值对了),给出n个上述的4位数,让你确定这个正确的数是多少。 思路:直接暴力。 注意:程序结束是n为负数,而不是-1,为此超时了两次 T T。 代码: #include #include #include using namespace std; str...
分类:其他好文   时间:2014-05-02 21:16:30    阅读次数:314
CSU 1416 Practical Number
原题链接:http://acm.csu.edu.cn/OnlineJudge/problem.php?id=1416 结论题,具体判断方法请点击这个网址。 筛素数是肯定的,但一开始定的范围太大了,想当然要筛到10^9的质数,但仔细想想,只要到sqrt(10^9)就可以了,最后的那一个质数是最...
分类:其他好文   时间:2014-05-02 13:41:45    阅读次数:448
欧拉计划16-20题
16、Power digit sum215= 32768 and the sum of its digits is 3 + 2 + 7 + 6 + 8 = 26.What is the sum of the digits of the number 21000?题目大意:215= 32768 并且其...
分类:其他好文   时间:2014-05-02 13:17:49    阅读次数:1223
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 it is the same when the string is read from lef...
分类:其他好文   时间:2014-05-02 10:33:09    阅读次数:332
hdu 1394 Minimum Inversion Number_归并排序
归并排序...
分类:其他好文   时间:2014-05-02 08:31:50    阅读次数:225
xml publisher根据条件显示或隐藏列
?? xml publisher根据条件显示或隐藏列 if@column:condition?> …… 例子: 根据PROJECT_FLAG标签显示或隐藏项目号的列 IF 项目号 EI IF PROJECT_NUMBER EI IF: EI: 注意:对应的PROJECT_FLAG需要同时在头和行上有...
分类:其他好文   时间:2014-04-30 22:43:40    阅读次数:258
Excel函数大全
我们在使用Excel制作表格整理数据的时候,常常要用到它的函数功能来自动统计处理表格中的数据。这里整理了Excel中使用频率最高的函数的功能、使用方法,以及这些函数在实际应用中的实例剖析,并配有详细的介绍。   1、ABS函数    函数名称:ABS    主要功能:求出相应数字的绝对值。    使用格式:ABS(number)    参数说明:number代表需要求绝对值的数值或...
分类:其他好文   时间:2014-04-30 22:23:38    阅读次数:419
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!