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
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
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
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
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
题目链接: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
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
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
题目来源: Project Euler 基准时间限制:6 秒 空间限制:131072 KB 分值: 640 题目来源: Project Euler 基准时间限制:6 秒 空间限制:131072 KB 分值: 640 题目来源: Project Euler 基准时间限制:6 秒 空间限制:131072 ...
分类:
其他好文 时间:
2017-06-18 20:45:23
阅读次数:
228
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