Skip to content

Commit

Permalink
Less debug output
Browse files Browse the repository at this point in the history
  • Loading branch information
maxi0604 committed Dec 11, 2023
1 parent eb991e7 commit eebc367
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion d9/p1.jl
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ function calc_line(line::AbstractString)
values = map((x) -> parse(Int, x), split(line, " "; keepempty=false))
for i range(0, length(values) - 1)
for j range(1, length(values) - i - 1)
println(i, j)
values[j] = values[j + 1] - values[j]
end
println(values)
Expand Down
1 change: 0 additions & 1 deletion d9/p2.jl
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ function calc_line(line::AbstractString)
values = map((x) -> parse(Int, x), split(line, " "; keepempty=false))
for i range(2, length(values))
for j range(length(values), i; step=-1)
println(i, j)
values[j] = values[j - 1] - values[j]
end
println(values)
Expand Down

0 comments on commit eebc367

Please sign in to comment.