码迷,mamicode.com
首页 >  
搜索关键字:palindrome numbers    ( 9163个结果
projecteuler---->problem=5----Smallest multiple n个数求最小公倍数
title: 2520 is the smallest number that can be divided by each of the numbers from 1 to 10 without any remainder. What is the smallest positive number that is evenly divisible by all of the nu...
分类:其他好文   时间:2014-06-07 01:27:37    阅读次数:229
projecteuler---->problem=4----Largest palindrome product
title: Largest palindrome product Problem 4 A palindromic number reads the same both ways. The largest palindrome made from the product of two 2-digit numbers is 9009 = 91 99. Find the l...
分类:其他好文   时间:2014-06-07 01:24:27    阅读次数:398
projecteuler---->problem=7----10001st prime
title: By listing the first six prime numbers: 2, 3, 5, 7, 11, and 13, we can see that the 6th prime is 13. What is the 10 001st prime number? 翻译: 通过列出前6个质数,我们可知第6个质数是13。 那么第10001个质数是...
分类:其他好文   时间:2014-06-05 12:28:28    阅读次数:277
projecteuler---->problem=6----Sum square difference
title: The sum of the squares of the first ten natural numbers is, 12 + 22 + ... + 102 = 385 The square of the sum of the first ten natural numbers is, (1 + 2 + ... + 10)2 = 552 = 3025 Hence ...
分类:其他好文   时间:2014-06-05 12:03:29    阅读次数:243
POJ 1715 Hexadecimal Numbers 组合数学
POJ 1715 Hexadecimal Numbers 组合数学 题目地址 题意:  一个十六进制,最多8位而且每一位都不能重复,求所有符合的数中第n大的数。注意不能有前导0。 分析:  可以发现,第i位的任何一个取值,都有P(unused, i - 1)个数字串,只要从高位向低位,从F到1找过去,看第n个是否在这个区间里面,如果没有的话就把那位置为0,然后找下一位就行了。...
分类:其他好文   时间:2014-06-04 21:14:02    阅读次数:272
NYOJ43 24 Point game 【回溯】
24 Point game 时间限制:3000 ms  |  内存限制:65535 KB 难度:5 描述 There is a game which is called 24 Point game. In this game , you will be given some numbers. Your task is to find an expressi...
分类:其他好文   时间:2014-06-04 21:06:57    阅读次数:295
Terrible Sets
Terrible SetsTime Limit:1000MSMemory Limit:30000KTotal Submissions:3017Accepted:1561DescriptionLet N be the set of all natural numbers {0 , 1 , 2 , . ...
分类:其他好文   时间:2014-05-31 22:01:28    阅读次数:325
ProjectEuler 009题
题目:A Pythagorean triplet is a set of three natural numbers, a b c, for which,a2 + b2 = c2For example, 32 + 42 = 9 + 16 = 25 = 52.There exists exactl.....
分类:其他好文   时间:2014-05-31 01:23:03    阅读次数:254
Palindrome Partitioning II
Given a strings, partitionssuch that every substring of the partition is a palindrome.Return the minimum cuts needed for a palindrome partitioning ofs...
分类:其他好文   时间:2014-05-30 15:13:10    阅读次数:262
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-05-30 14:59:37    阅读次数:241
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!