diff --git a/src/Julia/Problem013.jl b/src/Julia/Problem013.jl new file mode 100644 index 0000000..7fec624 --- /dev/null +++ b/src/Julia/Problem013.jl @@ -0,0 +1,27 @@ +using Base: String +#= +Created on 22 Jul 2021 + +@author: David Doblas Jiménez +@email: daviddoji@pm.me + +Solution for Problem 13 of Project Euler +https://projecteuler.net/problem=13 +=# + +using DoubleFloats +# using JSON + +function Problem13() + #= + Work out the first ten digits of the sum of the following one-hundred + 50-digit numbers + =# + return string(sum(parse.(BigInt,readlines("../Python/files/Problem13.txt"))))[1:10] +end + + +println("Time to evaluate Problem 13:") +@time Problem13() +println("") +println("Result for Problem 13: ", Problem13())