码迷,mamicode.com
首页 >  
搜索关键字:palindrome numbers    ( 9163个结果
UVA 11582 Colossal Fibonacci Numbers! 找循环节
注意n=1的情况#include #include #include #include #include #include #include #include #include #include #include #include #include using namespace std;typed...
分类:其他好文   时间:2014-08-01 15:31:01    阅读次数:260
LeetCode--Palindrome Number
关键:如何取最高位的数? 1 class Solution { 2 public: 3 bool isPalindrome(int x) { 4 if(x = 10) 9 {10 div = div*10;11 ...
分类:其他好文   时间:2014-08-01 15:24:01    阅读次数:220
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-08-01 12:49:41    阅读次数:186
Combination Sum leetcode java
题目:Given a set of candidate numbers (C) and a target number (T), find all unique combinations in C where the candidate numbers sums to T. The same re....
分类:编程语言   时间:2014-08-01 10:43:21    阅读次数:266
Palindrome Partitioning leetcode java
题目:Given a string s, partition s such that every substring of the partition is a palindrome.Return all possible palindrome partitioning of s.For exam....
分类:编程语言   时间:2014-08-01 10:30:01    阅读次数:218
Valid Palindrome leetcode java
题目:Given a string, determine if it is a palindrome, considering only alphanumeric characters and ignoring cases.For example,"A man, a plan, a canal: ....
分类:编程语言   时间:2014-08-01 10:27:11    阅读次数:310
Sum Root to Leaf Numbers leetcode java
题目:Given a binary tree containing digits from 0-9 only, each root-to-leaf path could represent a number.An example is the root-to-leaf path 1->2->3 w....
分类:编程语言   时间:2014-08-01 06:57:21    阅读次数:297
Decode Ways
Description:A message containing letters fromA-Zis being encoded to numbers using the following mapping:'A' -> 1'B' -> 2...'Z' -> 26Given an encoded m...
分类:其他好文   时间:2014-08-01 04:39:01    阅读次数:167
LeetCode 第一题,Two Sum
题目还原 Two Sum Given an array of integers, find two numbers such that they add up to a specific target number. The function twoSum should return indices of the two numbers such that they add up t...
分类:其他好文   时间:2014-08-01 02:25:11    阅读次数:391
xtu summer individual 1 E - Palindromic Numbers
E -Palindromic NumbersTime Limit:2000MSMemory Limit:32768KB64bit IO Format:%lld & %lluDescriptionA palindromic number or numeral palindrome is a 'symm...
分类:其他好文   时间:2014-07-31 23:36:50    阅读次数:360
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!