![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Project-Euler
文章平均质量分 83
hikean
这个作者很懒,什么都没留下…
展开
-
Project-Euler problem 60 Prime pair sets
The primes 3, 7, 109, and 673, are quite remarkable. By taking any two primes and concatenating them in any order the result will always be prime. For example, taking 7 and 109, both 7109 and 1097 a原创 2015-01-25 17:55:07 · 1012 阅读 · 0 评论 -
Project Euler Problem 51-70
题目翻译是从 欧拉计划 | Project Euler 中文翻译站上面Copy 的Problem 51 Prime digit replacements通过置换*3的第一位得到的9个数中,有六个是质数:13,23,43,53,73和83。通过用同样的数字置换56**3的第三位和第四位,这个五位数是第一个能够得到七个质数的数字,得到的质数是:56003, 56113, 56333, 56原创 2015-02-08 02:22:25 · 2434 阅读 · 0 评论 -
Project Euler Problem 81-90
Project Euler 81-90Project Euler 81-90题解 [TOC]Problem 81 Path sum: two ways路径和:两个方向 在如下的5乘5矩阵中,从左上方到右下方始终只向右或向下移动的最小路径和为2427,由标注红色的路径给出。131 673 234 103 18 201 96 342 965 150 630 803 746 422 11原创 2016-03-05 22:17:05 · 1471 阅读 · 0 评论 -
Project Euler Problem 91-100
Problem 91 Right triangles with integer coordinates格点直角三角形点P(x1, y1)和点Q(x2, y2)都是格点,并与原点O(0,0)构成ΔOPQ。当点P和点Q的所有坐标都在0到2之间,也就是说0 ≤ x1, y1, x2, y2 ≤ 2时,恰好能构造出14个直角三角形。如果0 ≤ x1, y1, x2, y2原创 2016-03-06 16:00:13 · 907 阅读 · 0 评论 -
Project-Euler problem 1-50
最近闲的做了下Project Euler 上的题目,前面50题都比较简单,简单总结下,一下代码一般是Python和C/C++的 用Python 做这些题目简直是酸爽啊一下代码可能不一定是我的,因为不知道论坛里面的回复不是永久的,所以我的代码有的丢了,可能找个和我的意思相近的代码。题目翻译是从欧拉计划 | Project Euler 中文翻译站上面Copy 的表告我。Prob原创 2015-01-31 00:09:48 · 3841 阅读 · 0 评论 -
Project Euler Problem 71-80
Project Euler Problem 71-80Problem 71 Ordered fractions有序分数考虑形如n/d的分数,其中n和d均为正整数。如果n 如果我们将d ≤ 8的最简真分数构成的集合按大小升序列出,我们得到:1/8, 1/7, 1/6, 1/5, 1/4, 2/7, 1/3, 3/8, 2/5, 3/7, 1/2, 4/7, 3/5, 5原创 2016-02-27 20:34:47 · 1237 阅读 · 0 评论