diff --git a/src/Julia/Problem059.jl b/src/Julia/Problem059.jl index 2249a99..0d3dc3b 100644 --- a/src/Julia/Problem059.jl +++ b/src/Julia/Problem059.jl @@ -42,7 +42,7 @@ function Problem59() values in the original text. =# - file = "/datos/Scripts/Gitea/Project_Euler/src/files/Problem59.txt" + file = "../files/Problem59.txt" data = readline(file) data = parse.(Int, split(data, ",")) # encrypted = readdlm(file, ',', Int) diff --git a/src/Julia/Problems001-050/Problem022.jl b/src/Julia/Problems001-050/Problem022.jl index 6f668ae..a3cabd7 100644 --- a/src/Julia/Problems001-050/Problem022.jl +++ b/src/Julia/Problems001-050/Problem022.jl @@ -22,7 +22,7 @@ function Problem22() COLIN would obtain a score of 938 × 53 = 49714. What is the total of all the name scores in the file? =# - file = "/datos/Scripts/Gitea/Project_Euler/src/files/Problem22.txt" + file = "../files/Problem22.txt" names = sort(readdlm(file, ',', String)[:]) result = 0