码迷,mamicode.com
首页 >  
搜索关键字:euler    ( 502个结果
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
Project Euler :Problem 54 Poker hands
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
(hdu step 7.2.1)The Euler function(欧拉函数模板题——求phi[a]到phi[b]的和)
题目: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
Project Euler:Problem 33 Digit cancelling fractions
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(网络流之最大点权独立集)
题目链接:Educational Codeforces Round 21 F. Card Game 题意: 有n个卡片,每个卡片有三个值:p,c,l; 现在让你找一个最小的L,使得满足选出来的卡片l<=L,并且所有卡片的p的和不小于k。 选择卡片时有限制,任意两张卡片的c之和不能为质数。 题解: 和 ...
分类:其他好文   时间:2017-05-28 18:06:13    阅读次数:288
Project Euler:Problem 61 Cyclical figurate numbers
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
502条   上一页 1 ... 15 16 17 18 19 ... 51 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!