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
In the card game poker, a hand consists of five cards and are ranked, from lowest to highest, in the following way: High Card: Highest value card.One ...
分类:
其他好文 时间:
2017-06-16 16:39:29
阅读次数:
170
题目:The Euler functionTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 166 Accepted Submission(s): ...
分类:
其他好文 时间:
2017-06-04 17:07:10
阅读次数:
255
The fraction 49/98 is a curious fraction, as an inexperienced mathematician in attempting to simplify it may incorrectly believe that49/98 = 4/8, whic ...
分类:
其他好文 时间:
2017-06-03 11:22:40
阅读次数:
178
题目链接:Educational Codeforces Round 21 F. Card Game 题意: 有n个卡片,每个卡片有三个值:p,c,l; 现在让你找一个最小的L,使得满足选出来的卡片l<=L,并且所有卡片的p的和不小于k。 选择卡片时有限制,任意两张卡片的c之和不能为质数。 题解: 和 ...
分类:
其他好文 时间:
2017-05-28 18:06:13
阅读次数:
288
Triangle, square, pentagonal, hexagonal, heptagonal, and octagonal numbers are all figurate (polygonal) numbers and are generated by the following for ...
分类:
其他好文 时间:
2017-05-25 10:10:28
阅读次数:
169