![](https://img-blog.csdnimg.cn/20201014180756724.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Java进阶之欧拉工程 第十一篇【持续更新】
demon咔咔
这个作者很懒,什么都没留下…
展开
-
Java进阶之欧拉工程 第十五篇【网格路径问题】
网格路径问题,中文翻译如下:从 22的格子的左上角开始,只允许向右和向下移动,一共有六种路径可以抵达右下角那么在2020的路径中一共有多少条这样的路径?原题如下:Starting in the top left corner of a 22 grid, and only being able to move to the right and down原创 2014-08-18 13:19:41 · 1548 阅读 · 0 评论 -
Java进阶之欧拉工程 第十四篇【 最长的collatz序列】
原题如下:The following iterative sequence is defined for the set of positive integers:n n/2 (n is even)n 3n + 1 (n is odd)Using the rule above and starting with 13, we generate the f原创 2014-08-18 00:08:55 · 1553 阅读 · 1 评论 -
Java进阶之欧拉工程 第十三篇【大数求和】
原题如下:Problem Thirteen:Large sumWork out the first ten digits of the sum of the following one-hundred 50-digit numbers.3710728753390210279879799822083759024651013574025046376937677490原创 2014-08-16 21:37:34 · 645 阅读 · 0 评论 -
Java进阶之欧拉工程 第十二篇【有大量约数的三角数】
原题如下:The sequence of triangle numbers is generated by adding the natural numbers. So the 7th triangle number would be 1 + 2 + 3 + 4 + 5 + 6 + 7 = 28. The first ten terms would be:1, 3, 6,原创 2014-08-16 20:43:50 · 598 阅读 · 0 评论 -
Java进阶之欧拉工程 第十篇【持续更新】
原题如下:The sum of the primes below 10 is 2 + 3 + 5 + 7 = 17.Find the sum of all the primes below two million.原创 2014-08-16 11:21:47 · 500 阅读 · 0 评论 -
Java 欧拉工程 第二十一篇【计算10000以下所有相亲数之和】
题目是这样的:原创 2014-08-21 22:10:40 · 1441 阅读 · 0 评论 -
Java 欧拉工程 第二十篇【 算出100!的各位之和。】
题目是这样:原创 2014-08-20 22:32:08 · 517 阅读 · 0 评论 -
Java 欧拉工程 第十九篇【 20世纪有多少个星期日是当月的第一天?】
以下是一些已知信息,但是或许你需要自己做一些其他的调查。1900年1月1日是星期一。30天的月份有:9月,4月,6月,11月。此外的月份都是31天,当然2月除外。2月在闰年有29天,其他时候有28天。年份可以被4整除的时候是闰年,但是不能被400整除的世纪年(100的整数倍年)除外。20世纪(1901年1月1日到2000年12月31日)一共有多少个星期日落在了当月的第一天?原创 2014-08-20 17:05:12 · 828 阅读 · 0 评论 -
Java进阶之欧拉工程 第十八篇【 找出从三角形顶端走到底端的最大和】
题目如下:从下面的三角形的顶端开始,向下面一行的相邻数字移动,从顶端到底端的最大总和为23.37 42 4 68 5 9 3也就是 3 + 7 + 4 + 9 = 23.找出从以下三角形的顶端走到底端的最大总和:7595 6417 47 8218 35 87 1020 04 82 47 6519 01 23 75 03 3原创 2014-08-18 20:19:06 · 638 阅读 · 0 评论 -
Java进阶之欧拉工程 第十六篇【2的1000次方各位之和为多少】
题目如下:215 = 32768 并且其各位之和为 is 3 + 2 + 7 + 6 + 8 = 26.21000 的各位数之和是多少?原题如下:215 = 32768 and the sum of its digits is 3 + 2 + 7 + 6 + 8 = 26.What is the sum of the digits of the number 210原创 2014-08-18 15:15:10 · 1422 阅读 · 0 评论