码迷,mamicode.com
首页 >  
搜索关键字:project-euler    ( 184个结果
Project Euler:99 Largest exponential C++
Comparing two numbers written in index form like 211 and 37 is not difficult, as any calculator would confirm that 211 = 2048 < 37 = 2187. However, co ...
分类:编程语言   时间:2017-08-24 13:29:28    阅读次数:219
Project Euler 92:Square digit chains C++
A number chain is created by continuously adding the square of the digits in a number to form a new number until it has been seen before. For example, ...
分类:编程语言   时间:2017-08-23 23:01:27    阅读次数:257
Project Euler:Problem 34 Digit factorials
145 is a curious number, as 1! + 4! + 5! = 1 + 24 + 120 = 145. Find the sum of all numbers which are equal to the sum of the factorial of their digits ...
分类:其他好文   时间:2017-08-07 20:39:37    阅读次数:160
51nod 1024 矩阵中不重复的元素(质因数分解+map判重)
1024 矩阵中不重复的元素 题目来源: Project Euler 基准时间限制:1 秒 空间限制:131072 KB 分值: 10 难度:2级算法题 收藏 关注 取消关注 收藏 关注 取消关注 一个m*n的矩阵。 该矩阵的第一列是a^b,(a+1)^b,.....(a + n - 1)^b 第二 ...
分类:其他好文   时间:2017-08-07 13:30:14    阅读次数:198
Project Euler:Problem 41 Pandigital prime
We shall say that an n-digit number is pandigital if it makes use of all the digits 1 to n exactly once. For example, 2143 is a 4-digit pandigital and ...
分类:其他好文   时间:2017-07-28 12:50:11    阅读次数:164
Project Euler:problem 104
题目链接:http://pe-cn.github.io/104/ 部分结果: first nine 308563first nine 309329last nine 309354last nine 309998first nine 310064last nine 310229first nine 3 ...
分类:其他好文   时间:2017-07-03 21:06:55    阅读次数:233
Project Euler:Problem 77 Prime summations
It is possible to write ten as the sum of primes in exactly five different ways: 7 + 3 5 + 5 5 + 3 + 2 3 + 3 + 2 + 2 2 + 2 + 2 + 2 + 2 What is the fir ...
分类:其他好文   时间:2017-06-29 19:22:42    阅读次数:202
Project Euler:Problem 88 Product-sum numbers
A natural number, N, that can be written as the sum and product of a given set of at least two natural numbers, {a1, a2, ... , ak} is called a product ...
分类:其他好文   时间:2017-06-22 13:16:07    阅读次数:147
51nod1222 最小公倍数计数
题目来源: Project Euler 基准时间限制:6 秒 空间限制:131072 KB 分值: 640 题目来源: Project Euler 基准时间限制:6 秒 空间限制:131072 KB 分值: 640 题目来源: Project Euler 基准时间限制:6 秒 空间限制:131072 ...
分类:其他好文   时间:2017-06-18 20:45:23    阅读次数:228
Project Euler:Problem 58 Spiral primes
Starting with 1 and spiralling anticlockwise in the following way, a square spiral with side length 7 is formed. 37 36 35 34 33 32 31 38 17 16 15 14 1 ...
分类:其他好文   时间:2017-06-18 12:12:06    阅读次数:172
184条   上一页 1 ... 3 4 5 6 7 ... 19 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!