码迷,mamicode.com
首页 >  
搜索关键字:project-euler    ( 184个结果
Project Euler:Problem 39 Integer right triangles
Ifpis the perimeter of a right angle triangle with integral length sides, {a,b,c}, there are exactly three solutions forp= 120.{20,48,52}, {24,45,51},...
分类:其他好文   时间:2015-10-06 10:17:33    阅读次数:173
Project Euler 78:Coin partitions
Coin partitions Let p(n) represent the number of different ways in which n coins can be separated into piles. For example, five coins can separated in...
分类:其他好文   时间:2015-10-02 22:31:20    阅读次数:260
Project Euler 77:Prime summations
原题:Prime summationsIt is possible to write ten as the sum of primes in exactly five different ways:7 + 35 + 55 + 3 + 23 + 3 + 2 + 22 + 2 + 2 + 2 + 2Wh...
分类:其他好文   时间:2015-10-02 17:15:17    阅读次数:212
Project Euler 76:Counting summations
题目链接 原题: It is possible to write five as a sum in exactly six different ways: 4 + 13 + 23 + 1 + 12 + 2 + 12 + 1 + 1 + 11 + 1 + 1 + 1 + 1 How many diff...
分类:其他好文   时间:2015-10-02 10:07:32    阅读次数:189
Project Euler:Problem 28 Number spiral diagonals
Starting with the number 1 and moving to the right in a clockwise direction a 5 by 5 spiral is formed as follows:2122 23 242520 78 91019 6 12 1118 54 ...
分类:其他好文   时间:2015-09-23 14:50:07    阅读次数:130
也谈 Euler Problem 13
题目 昨天,类型安全的心园友发表了一篇随笔“[Project Euler]加入欧拉 Problem 13 被卡住了,调试不出正确结果囧”。这道题目是要求计算出下面的100个50位数字的和的前十位数字: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 ...
分类:其他好文   时间:2015-08-03 14:45:27    阅读次数:112
Project Euler:Problem 93 Arithmetic expressions
By using each of the digits from the set, {1, 2, 3, 4}, exactly once, and making use of the four arithmetic operations (+, ?, *, /) and brackets/parentheses, it is possible to form different positiv...
分类:其他好文   时间:2015-07-26 19:21:34    阅读次数:378
Project Euler:Problem 92 Square digit chains
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, 44 → 32 → 13 → 10 → 1 → 1 85 → 89 → 145 → 42...
分类:其他好文   时间:2015-07-26 15:52:18    阅读次数:152
Project Euler:Problem 91 Right triangles with integer coordinates
The points P (x1, y1) and Q (x2, y2) are plotted at integer co-ordinates and are joined to the origin, O(0,0), to form ΔOPQ. There are exactly fourteen triangles containing a right angle that...
分类:其他好文   时间:2015-07-26 00:35:30    阅读次数:384
Project Euler:Problem 90 Cube digit pairs
Each of the six faces on a cube has a different digit (0 to 9) written on it; the same is done to a second cube. By placing the two cubes side-by-side in different positions we can form a variety of...
分类:其他好文   时间:2015-07-24 22:42:52    阅读次数:231
184条   上一页 1 ... 9 10 11 12 13 ... 19 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!