码迷,mamicode.com
首页 >  
搜索关键字:palindrome numbers    ( 9163个结果
H_Dp
/* H - 简单dp 例题扩展 Time Limit:3000MS Memory Limit:65536KB 64bit IO Format:%I64d & %I64u Submit Status Description A palindrome is a symmetrical string, that is, a string read identically from ...
分类:其他好文   时间:2014-07-18 22:23:07    阅读次数:235
UVA 10198 Counting
Counting The Problem Gustavo knows how to count, but he is now learning how write numbers. As he is a very good student, he already learned 1, 2, 3 and 4. But he didn't realize yet tha...
分类:其他好文   时间:2014-07-18 22:04:36    阅读次数:322
Uva 10474 Where is the Marble?
Where is the Marble? Where is the Marble?Raju and Meena love to play with Marbles. They have got a lot of marbles with numbers written on them. At the...
分类:其他好文   时间:2014-07-17 14:20:27    阅读次数:376
[LeetCode] Triangle
Given a triangle, find the minimum path sum from top to bottom. Each step you may move to adjacent numbers on the row below.For example, given the fol...
分类:其他好文   时间:2014-07-17 14:03:41    阅读次数:293
POJ 2109 Power of Cryptography
Description Current work in cryptography involves (among other things) large prime numbers and computing powers of numbers among these primes. Work in this area has resulted in the practical use of...
分类:其他好文   时间:2014-07-17 10:12:16    阅读次数:191
LeetCode "Sum Root to Leaf Numbers"
A typical DFS usage, no big deal:class Solution {public: int dfs(TreeNode *p, int pval) { if( !p->left && !p->right ) { ...
分类:其他好文   时间:2014-07-17 09:55:25    阅读次数:171
Inversions
There are N integers (1A[j].InputThe first line of the input contains the number N. The second line contains N numbers A1...AN.OutputWrite amount of s...
分类:其他好文   时间:2014-07-17 00:24:27    阅读次数:236
[leetcode]Palindrome Partitioning
Palindrome PartitioningGiven a strings, partitionssuch that every substring of the partition is a palindrome.Return all possible palindrome partitioni...
分类:其他好文   时间:2014-07-16 17:41:15    阅读次数:173
codeforces 446C DZY Loves Fibonacci Numbers(数学 or 数论+线段树)
In mathematical terms, the sequenceFnof Fibonacci numbers is defined by the recurrence relationF1?=?1;F2?=?1;Fn?=?Fn?-?1?+?Fn?-?2(n?>?2).DZY loves Fib...
分类:其他好文   时间:2014-07-16 16:45:19    阅读次数:418
Bit operator: Left shift and Right shift (Signed or unsigned? )
No matter left shift or right shift, the result's sign should always be the same as its left operand. By default, const numbers in C/C++ is signed. -Wsign-compare {      unsigned int j = 3;      ...
分类:其他好文   时间:2014-07-16 12:59:21    阅读次数:238
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!