Project Euler解题汇总 001 ~ 012

[b][color=red]EDIT[/color][/b]: [color=blue]2010.5.7,添加关于Scala版本的说明,添加Scala2.8的实现代码[/color]

  前日在网上闲逛,发现了这个有意思的网站[url=http://projecteuler.net/]Project Euler[/url]。这个网站给出了一系列数学相关的题目,你可以使用编程去解答。
[quote][size=medium][color=blue]What is Project Euler?[/color][/size]

[color=orange]  Project Euler is a series of challenging mathematical/computer programming problems that will require more than just mathematical insights to solve. Although mathematics will help you arrive at elegant and efficient methods, the use of a computer and programming skills will be required to solve most problems.

  The motivation for starting Project Euler, and its continuation, is to provide a platform for the inquiring mind to delve into unfamiliar areas and learn new concepts in a fun and recreational context.[/color][/quote]
  蛮有趣的,我准备在空余时间依次做做这些题。这系列帖子用于列出我所做出的题(每个贴包括5~15道问题的答案):对于简单的题,直接给出程序代码及答案;对于我认为比较复杂的题目,只在该贴给出答案,然后另开新帖给出详细点的解答。
  对于解题所用的编程语言,那些简单的题可能只给出[url=http://eastsun.iteye.com/category/30003]Scala[/url]代码([color=orange]可以直接使用Scala控制台运行,最后一行的运行结果即为答案[/color]);复杂一些的题可能会使用Java/C/Mathmatica/Matlab(注:Mathmatica与Matlab是两个常用的数学工具)。
  对于所写的代码,在能够解决问题的前提下,尽量做到简单&漂亮,[color=blue]所以所给的代码效率上未必是最佳的,能够解决问题足矣。[/color]


[url=http://projecteuler.net/index.php?section=problems&id=1]问题1[/url]:
[color=orange]Add all the natural numbers below one thousand that are multiples of 3 or 5.[/color]
求小于1000的自然数中3或5的倍数之和。
[color=red]答案[/color]:233168

Stream.range(0,1000).filter{ n => n%3==0||n%5==0 }.foldLeft(0){ _+_ }

(0 until 1000).filter{ n => n%3==0||n%5==0 }.sum


[url=http://projecteuler.net/index.php?section=problems&id=2]问题2[/url]:
[color=orange]Find the sum of all the even-valued terms in the Fibonacci sequence which do not exceed four million.[/color]
对于数列f(n):
  f(1) =1,f(2) =2
  f(n) =f(n-1)+f(n-2) (n>2)
求数列f(n)中不大于4000,000且为偶数项数之和。
[color=red]答案[/color]:4613732

var fib:Stream[Int] = Stream.cons(1,Stream.cons(2,
fib.zip(fib.tail).map{case(x,y) => x+y}
))
fib.takeWhile{_<=4000000}.filter{_%2==0}.foldLeft(0){_+_}


Stream.iterate((1,2)){ case(x,y) => (y,x+y) }.map{ _._1 }
.takeWhile{ _ <= 4000000 }.filter{ _%2 == 0 }.sum



[url=http://projecteuler.net/index.php?section=problems&id=3]问题3[/url]:[color=orange]Find the largest prime factor of a composite number.[/color]
求600851475143的最大质因数。
[color=red]答案[/color]:6857
   
var num = 600851475143L
var res = 2
while(res != num) if(num%res == 0) num = num/res else res += 1
res

Stream.iterate((600851475143L,2)){ case(n,p) => if(n%p == 0) (n/p,p) else (n,p+1) }
.takeWhile{ case(n,p) => n>=p }.last._1


[url=http://projecteuler.net/index.php?section=problems&id=4]问题4[/url]:
[color=orange]Find the largest palindrome made from the product of two 3-digit numbers.[/color]
求能分解为两个三位数乘积的最大回文数。
[color=red]答案[/color]:906609
  
def isPalin(n:Int):Boolean = {
var inv =0
var tmp =n
while(tmp != 0){
inv = inv*10 + tmp%10
tmp = tmp/10
}
inv == n
}
var res =0
for(i <- 100 to 999;j <- 100 to 999;if isPalin(i*j))
if(i*j > res) res = i*j
res

 (for(x <- 100 to 999;y <- 100 to 999;s = "" + x*y;if s == s.reverse) yield x*y).max


[url=http://projecteuler.net/index.php?section=problems&id=5]问题5[/url]:[color=orange]What is the smallest number divisible by each of the numbers 1 to 20?[/color]
求1,2,..,19,20的最小公倍数。
[color=red]答案[/color]:232792560
    
def gcd(a:Long,b:Long):Long = if(a==0) b else gcd(b%a,a)
1.to(20).foldLeft(1L){ (a,b) => a*b/gcd(a,b)}


[url=http://projecteuler.net/index.php?section=problems&id=6]问题6[/url]:[color=orange]Find the difference between the sum of the squares of the first one hundred natural numbers and the square of the sum.[/color]
求1至100和的平方与1至100的平方和之差。
[color=red]答案[/color]:25164150
 
var sumOfSquare = 1.to(100).foldLeft(0){ (a,b) => a+b*b }
var sum = 1.to(100).foldLeft(0){ _+_ }
var squareOfSum = sum*sum
squareOfSum-sumOfSquare

 (for(x <- 1 to 100;y <- 1 to 100;if x != y) yield x*y).sum


[url=http://projecteuler.net/index.php?section=problems&id=7]问题7[/url]:[color=orange]Find the 10001st prime.[/color]
求第10001个素数(质数)。
[color=red]答案[/color]:104743
    
var ps:Stream[Int] = Stream.cons(2,
Stream.from(3).filter{ n =>
ps.takeWhile(p => p*p <= n).forall(n%_ !=0)
})
ps(10000)


[url]问题8[/url]:
[color=orange]Discover the largest product of five consecutive digits in the 1000-digit number.[/color]
在给定的1000个数中,求出连续5个数的最大乘积。
[color=red]答案[/color]:40824

var nums ="""73167176531330624919225119674426574742355349194934
96983520312774506326239578318016984801869478851843
85861560789112949495459501737958331952853208805511
12540698747158523863050715693290963295227443043557
66896648950445244523161731856403098711121722383113
62229893423380308135336276614282806444486645238749
30358907296290491560440772390713810515859307960866
70172427121883998797908792274921901699720888093776
65727333001053367881220235421809751254540594752243
52584907711670556013604839586446706324415722155397
53697817977846174064955149290862569321978468622482
83972241375657056057490261407972968652414535100474
82166370484403199890008895243450658541227588666881
16427171479924442928230863465674813919123162824586
17866458359124566529476545682848912883142607690042
24219022671055626321111109370544217506941658960408
07198403850962455444362981230987879927244284909188
84580156166097919133875499200524063689912560717606
05886116467109405077541002256983155200055935729725
71636269561882670428252483600823257530420752963450""".replaceAll("\\s+","").map{ _.asDigit }
var max =0
for(i <- 0 until nums.size-5){
var value =nums.slice(i,i+5).foldLeft(1){ (a,b) => a*b }
if(value>max) max =value
}
max

(for(i <- 0 until nums.size-5) yield nums.slice(i,i+5).product).max


[url=http://projecteuler.net/index.php?section=problems&id=9]问题9[/url]:
[color=orange]Find the only Pythagorean triplet, {a, b, c}, for which a + b + c = 1000.[/color]
求满足a+b+c = 1000的勾股数的积。(注:勾股数指满足a^2+b^2=c^2的自然数a,b,c)
[color=red]答案[/color]:31875000

for{a <- 1 until 500
b <- a until 500
if a*a + b*b == (1000-a-b)*(1000-a-b)
} yield a*b*(1000-a-b)


[url=http://projecteuler.net/index.php?section=problems&id=10]问题10[/url]:
Calculate the sum of all the primes below two million.
求2,000,000以内所有素数的和。
[color=red]答案[/color]:142913828922
    //这里用的求素数算法同题7一样
//但这个问题数据量稍大了点,该代码需要运行15秒左右
//如果遇到更大的数据,我会采用稍复杂一点的算法,会快很多(快一到两个数量级)
var ps:Stream[Int] = Stream.cons(2,
Stream.from(3).filter(n =>
ps.takeWhile(p => p*p <= n).forall(n%_ !=0)
)
)
ps.takeWhile(_ < 2000000).foldLeft(0L){ _+_ }


[url=http://projecteuler.net/index.php?section=problems&id=11]问题11[/url]:[color=orange]What is the greatest product of four numbers on the same straight line in the 20 by 20 grid?[/color]
对于给定的20×20的数字方阵,求相邻4个数之积的最大值。(相邻数包括同一行、同一列或同一对角线上的连续相邻4个数)
[color=red]答案[/color]:70600674
    
var src ="""08 02 22 97 38 15 00 40 00 75 04 05 07 78 52 12 50 77 91 08
49 49 99 40 17 81 18 57 60 87 17 40 98 43 69 48 04 56 62 00
81 49 31 73 55 79 14 29 93 71 40 67 53 88 30 03 49 13 36 65
52 70 95 23 04 60 11 42 69 24 68 56 01 32 56 71 37 02 36 91
22 31 16 71 51 67 63 89 41 92 36 54 22 40 40 28 66 33 13 80
24 47 32 60 99 03 45 02 44 75 33 53 78 36 84 20 35 17 12 50
32 98 81 28 64 23 67 10 26 38 40 67 59 54 70 66 18 38 64 70
67 26 20 68 02 62 12 20 95 63 94 39 63 08 40 91 66 49 94 21
24 55 58 05 66 73 99 26 97 17 78 78 96 83 14 88 34 89 63 72
21 36 23 09 75 00 76 44 20 45 35 14 00 61 33 97 34 31 33 95
78 17 53 28 22 75 31 67 15 94 03 80 04 62 16 14 09 53 56 92
16 39 05 42 96 35 31 47 55 58 88 24 00 17 54 24 36 29 85 57
86 56 00 48 35 71 89 07 05 44 44 37 44 60 21 58 51 54 17 58
19 80 81 68 05 94 47 69 28 73 92 13 86 52 17 77 04 89 55 40
04 52 08 83 97 35 99 16 07 97 57 32 16 26 26 79 33 27 98 66
88 36 68 87 57 62 20 72 03 46 33 67 46 55 12 32 63 93 53 69
04 42 16 73 38 25 39 11 24 94 72 18 08 46 29 32 40 62 76 36
20 69 36 41 72 30 23 88 34 62 99 69 82 67 59 85 74 04 36 16
20 73 35 29 78 31 90 01 74 31 49 71 48 86 81 16 23 57 05 54
01 70 54 71 83 51 54 69 16 92 33 48 61 43 52 01 89 19 67 48"""
def getValue(array:Array[Int],row:Int,col:Int):Int ={
var res =0
if(col+4 <= 20){
var pc = array.slice(row*20+col,row*20+col+4).foldLeft(1){ _*_ }
res =res max pc
}
if(row+4 <= 20){
var pr =1
for(n <- 0 until 4) pr = pr*array((row+n)*20+col)
res =res max pr
}
if(row+4<=20 && col+4<=20){
var pd1 =1
var pd2 =1
for(n <-0 until 4){
pd1 = pd1*array((row+n)*20+col+n)
pd2 = pd2*array((row+n)*20+col+3-n)
}
res =res max pd1 max pd2
}
res
}
var nums =src.split("\\s+").map{ _.foldLeft(0){ (a,b) => a*10+b-'0' } }
var res =0
for(row <- 0 until 20;col <- 0 until 20)
res =res max getValue(nums,row,col)
res

object Euler11 extends Application {    
val src = """08 02 22 97 38 15 00 40 00 75 04 05 07 78 52 12 50 77 91 08
49 49 99 40 17 81 18 57 60 87 17 40 98 43 69 48 04 56 62 00
81 49 31 73 55 79 14 29 93 71 40 67 53 88 30 03 49 13 36 65
52 70 95 23 04 60 11 42 69 24 68 56 01 32 56 71 37 02 36 91
22 31 16 71 51 67 63 89 41 92 36 54 22 40 40 28 66 33 13 80
24 47 32 60 99 03 45 02 44 75 33 53 78 36 84 20 35 17 12 50
32 98 81 28 64 23 67 10 26 38 40 67 59 54 70 66 18 38 64 70
67 26 20 68 02 62 12 20 95 63 94 39 63 08 40 91 66 49 94 21
24 55 58 05 66 73 99 26 97 17 78 78 96 83 14 88 34 89 63 72
21 36 23 09 75 00 76 44 20 45 35 14 00 61 33 97 34 31 33 95
78 17 53 28 22 75 31 67 15 94 03 80 04 62 16 14 09 53 56 92
16 39 05 42 96 35 31 47 55 58 88 24 00 17 54 24 36 29 85 57
86 56 00 48 35 71 89 07 05 44 44 37 44 60 21 58 51 54 17 58
19 80 81 68 05 94 47 69 28 73 92 13 86 52 17 77 04 89 55 40
04 52 08 83 97 35 99 16 07 97 57 32 16 26 26 79 33 27 98 66
88 36 68 87 57 62 20 72 03 46 33 67 46 55 12 32 63 93 53 69
04 42 16 73 38 25 39 11 24 94 72 18 08 46 29 32 40 62 76 36
20 69 36 41 72 30 23 88 34 62 99 69 82 67 59 85 74 04 36 16
20 73 35 29 78 31 90 01 74 31 49 71 48 86 81 16 23 57 05 54
01 70 54 71 83 51 54 69 16 92 33 48 61 43 52 01 89 19 67 48"""

val nms = src.lines.toArray.map{ line => line.trim.split("\\s+").map{ _.toInt } }

def valueAt(row: Int,col: Int): Int =
if(row >= 0 && row < nms.size &&
col >= 0 && col < nms(row).size) nms(row)(col)
else 0

val ots = (0,1)::(1,0)::(1,1)::(1,-1)::Nil

val res = (for(row <- 0 until nms.size; col <- 0 until nms(row).size; (x,y) <- ots)
yield (for(s <- 0 until 4) yield valueAt(row+s*x,col+s*y)).product
).max
println(res)
}


[url=http://projecteuler.net/index.php?section=problems&id=12]问题12[/url]:[color=orange]What is the value of the first triangle number to have over five hundred divisors?[/color]
求第一个因子个数超过500的三角数。(三角数t(n) =n*(n+1)/2)
[color=red]答案[/color]:76576500
    var ts = Stream.cons(0,Stream.from(1).map{ n =>
var t =n*(n+1)/2
var f =0
var k =1
while(k*k<t){
if(t%k ==0) f +=2
k +=1
}
if(t == k*k) f+1 else f
})
var len =ts.takeWhile{_<=500}.length
len*(len+1)/2
Project Euler挑战性编程练习与解题策略 本文还有配套的精品资源,点击获取 简介:项目欧拉(Project Euler)是一个提供数学和计算机科学挑战题的在线平台,旨在通过解决这些问题来提升编程技能和数学理解。问题通常涉及算法、数学建模和高效计算,有使用JavaScript和Ruby语言的解决方案。该平台的挑战包括理解基本和高级编程概念,如数据类型、数组、循环、函数、闭包、异步编程、模块化、面向对象编程、块、枚举器... 阅读详情

相关推荐

project-euler:Project Euler 问题的解决方案(主要使用 Java)

#Project Euler 解决方案 一些问题的解决方案。 大多数解决方案都是用Java编写的。

Project Euler Problem 86 (Python和C++代码实现和解析)

Problem 86 : Cuboid route A spider, S, sits in one corner of a cuboid room, measuring 6 by 5 by 3, and a fly, F, sits in the opposite corner. By travelling on the surfaces of the room the shortest “st...

jiafengfu的优快云博客 546

euler-java:Java 8 中的 Project Euler 解决方案

欧拉-java Java 8 中的 Project Euler 解决方案

Project Euler:Problem 86 Cuboid route

A spider, S, sits in one corner of a cuboid room, measuring 6 by 5 by 3, and a fly, F, sits in the opposite corner. By travelling on the surfaces of the room the shortest "straight line" dista...

weixin_33962621的博客 135

project001

是默认的codeblocks工程,但是每次打开某个项目的c文件时,工作空间就什么都没有,不仅如此,就算原本好的程序这时编译也会出问题。必须再建立一个新工程,把原来的程序复制粘贴到新工程才可以。而且如果你这样打开多个c文件时,想编译另外一个程序,连构建都没法构建。是我的打开方式有问题还是软件本身就这样?或者我的软件有问题?我这个是需要权限的版本的,但系统是普通版系统。

Microsoft Project 001

Microsoft Project 10Microsoft Project 10Microsoft Project 10Microsoft Project 10Microsoft Project 10

Project Euler 86:Cuboid route 长方体路径

Cuboid route A spider, S, sits in one corner of a cuboid room, measuring 6 by 5 by 3, and a fly, F, sits in the opposite corner. By travelling on the surfaces of the room the shortest “straight line”...

weixin_33971977的博客 276

ProjectEuler 解题表格

NULL 博文链接:https://linuke.iteye.com/blog/1056283

project euler 解题

project euler 3:Any integer greater than 1 is either a prime number, or can be written as a unique product of prime numbers (ignoring the order). 每一个数都能表示成质数的乘积。 const long numm = 600851475143; lo

cctvzxxz1的专栏 5928

工业自动化实战:用LabVIEW的DSC模块实现MODBUS-TCP设备控制

本文详细介绍了如何利用LabVIEW的DSC模块实现工业自动化中的MODBUS-TCP设备控制。通过环境准备、核心功能解析、状态机实现及典型工业场景实战,帮助工程师快速掌握稳定可靠的通讯技术,提升工业自动化系统的运行效率。

salt9的博客 1058

详解Unity中的粒子系统Particle System (三)

上一篇我们详细讲解了有关主模块的全部内容,已经对粒子系统的基本运作有了足够的了解,本篇就来讲一下被粒子系统默认启用的Emission、Shape、Renderer模块又在粒子系统中扮演着怎么样的作用吧。

梦小天幼的博客 1万+

Project Euler 题解

这个方阵不太方便直接弄到程序里,所以当做输入数据就可以了。会超时,但是实际上远远跑不满,所以直接枚举。直接枚举直接枚举直接枚举。怎么前面的题都是无脑题啊?拉插一下就可以得到题目中所说的“最优多项式” 了。我写的是高精度,代码比较长,题目很简单,就不贴了。注意不一定第一个比第二个大,要取绝对值。直接写一个高精度,或者用 Python 即可。猜一波小的质数不会太大,于是直接枚举。那么可以使用 C++ 自带的(从。算出来,然后直接对着每个。最后可能是个大质数。函数将数转成字符串。

Eason_cyx的博客 2352

T2T基因组组装实战指南:从数据到完整染色体

本文详细介绍了T2T基因组组装技术的实战指南,从测序数据选择到完整染色体组装的全流程。重点解析了ONT ultra-long和PacBio HiFi测序技术的优势,以及如何攻克端粒和着丝粒等重复区域的组装难题。通过具体案例和实用技巧,帮助研究人员实现从数据到完整染色体的高质量组装。

weixin_29292535的博客 846

Project Euler解题汇总 013 ~ 022

  [b][color=darkred]前言[/color][/b]:[url=http://projecteuler.net/]Project Euler[/url]是一个很有趣的网站,上面提供了一系列有一定挑战性的数学问题,这些问题如果单凭手工计算做不了几个,但如果使用编程并采用适当的算法就可以解决之。如果你对数学感兴趣并且会编程不妨去试试。   这篇帖子接着[url=http://east...

JavaSxy的专栏 340

Fofa API高阶玩法:用Python批量获取漏洞资产(含OA系统扫描实战)

本文详细介绍了如何利用Python结合Fofa API实现自动化漏洞资产收集的高阶实战技巧。通过构建健壮的客户端、设计精准查询语法、实现多线程批量采集,并以OA系统漏洞扫描为例,演示了从资产发现、过滤验证到报告生成的全流程,旨在提升安全运维与应急响应的效率。

weixin_28607671的博客 500

SORT算法在遮挡下总跟丢?深入OC-SORT源码,拆解其三大创新点如何解决卡尔曼滤波的顽疾

本文深入解析OC-SORT算法如何通过三大创新点解决多目标跟踪中的卡尔曼滤波顽疾。OC-SORT引入在线平滑虚拟轨迹技术(OOS)、观测中心动量匹配机制(OCM)和基于最后观测的轨迹恢复(OCR),显著提升了遮挡场景下的跟踪性能。实验数据显示,相比传统SORT算法,OC-SORT在MOT17数据集上MOTA提升5.7%,遮挡恢复成功率提高64.2%,为Multi-Object Tracking领域带来突破性进展。

weixin_42547431的博客 242

CODY Contest 2020 Project Euler I 全10题

第一题 Problem 230. Project Euler: Problem 1, Multiples of 3 and 5 If we list all the natural numbers below 10 that are multiples of 3 or 5, we get 3, 5, 6 and 9. The sum of these multiples is 23. Find the sum of all the multiples of 3 or 5 below the inp...

Type真是太帅了 2446

eLabRadio软件无线电虚实结合仿真开发平台简介

在使用仿真平台时,不要关闭设备或断开设备与PC机之间的网络连接,否则,仿真平台将无法正常工作。注:采用eNodeX设备认证方式,当出现“设备不存在”的报错时,请检查计算机IP是否和硬件设备IP处于同一网段,或者是否是先连接好网线,再开启硬件设备的。①此登录方式下,需要先建立软件与硬件的通信:在登录窗口点击【网络配置】,参照下图输入设备IP,服务器地址无需设置,设置完成后点击确认,此时登录界面无需设置账号密码;,拷贝到电脑上,使用管理员权限运行setup.exe,下一步直到安装完成,桌面会生成快捷方式。

weixin_55349105的博客 6320

Project Euler 001

欧拉计划解题

m0_63260018的博客 236

RK3576 Buildroot 双机 ADB 异常排障实录:同版 `boot.img`,一台可识别一台不可识别

进程在跑”不等于“USB 枚举成功”,adbd存活只是必要不充分条件。生产环境中的全局别名可能反向污染系统脚本。shell 命令替换中的字符串问题,必须做字节级验证(od -tx1相比“改环境规避”,核心脚本对输入做鲁棒处理更可长期维护。

小灰灰的博客 214

ESP8266开发之旅 基础篇① 走进ESP8266的世界

    欢迎大家来到ESP8266的世界,从现在开始,笔者将带领大家慢慢揭开ESP8266神秘的面纱。 1. 简介     从笔者的角度来说,ESP8266这个词可以理解为ESP8266EX芯片(当然,后面也有可能出现了其他芯片,这里首推ESP8266EX)以及依赖ESP8266EX芯片开发的系列模组的简称。     ESP8266EX是由乐鑫信息科技公司(Espressif)出品的一款应用于物联...

单片机菜鸟哥的博客 15万+

Project Euler in Java [001-040]

无脑而暴力·打怪且升级

安如衫的刷怪之路 2044

jdk-8u144-linux-x64.tar.gz.

该资源为搭建Linux系统Java环境用,资源的后缀为tar.gz格式的压缩包

欧拉计划(project euler)最详细中文题解

欧拉计划是一个在线解题网站,题目以各类数学问题为主,通常需要结合一定的数学与编程知识,写出适当的程序求解问题(详细介绍可以参见我的文章)。相比于力扣等刷题网站,欧拉计划上的题目有着更丰富的知识背景,在解答题目的过程中常能学习新的数学与算法知识,享受解题愉悦的同时也能颇有收获。 在我的解题过程中,我尽量追求对每道题给出最优的解法,然后写文章把我的思路与代码记录下来。在每篇文章中,我首先将题目翻译成了中文,然后给出了我的解题思路和对应的代码,代码可以在这个仓库中找到。希望这些文章能够为大家带来启发,发现更好的

metaquant的博客 6998

蓝牙模块HM-10手册

蓝牙模块HM-10手册,该手册对蓝牙模块HM-10进行了详细的介绍和使用方法以及一些AT指令。

android 蓝牙通讯demo

android 下蓝牙通讯demo,实现了发现蓝牙,使能蓝牙,通过蓝牙发送消息。

project Euler第七题

上大学的时候买了个手机,上边的游戏都是java做的,所以在还不知道什么是java的时候就想学习java了,但是现在都研一了,还没有怎么学习过java,书倒是看了不少,编程思想都看两边了,可是从没用java做过程序,先是用php做网站,再是用python做网站,以后就用java做project Euler了,聊以慰藉吧。 题目: By listing the first six pr

AncerHaides的专栏 875

visio安装包

Microsoft Office Visio 是一款专业的制图软件。利用经过更新的形状、协作工具和数据链接图表,创建专业级图表以简化复杂的信息。

Project Euler | 欧拉计划 001

有趣的数学网站,搭配代码食用,做题做题!

KS_DW的博客 474

Project Euler 解决方案集常见问题解答

Project Euler 解决方案集常见问题解答 项目基础介绍及主要编程语言 Project Euler 是一个包含一系列数学和计算问题的集合,旨在帮助程序员及数学爱好者锻炼编程技能和数学直觉。通过解决这些问题,参与者不仅能够学习新的算法和编程技巧,还能加深对数学原理的理解。 该项目的解决方案库位于 [](。在这个仓库中,用户可以找到针对Project Euler问题的多种编程语言版本的代码解答...

gitblog_00774的博客 344
上一篇: 操作指南:在iPhone上安装运行Java
下一篇: 英语数字表达法
JavaSxy
博客等级 码龄21年 1粉丝 25原创
评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

个

红包个数最小为10个

元

红包金额最低5元

当前余额3.43元 前往充值 >
需支付:10.00元
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付元
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值