Skip to content

Commit

Permalink
Clean-up Day 18 - Puzzle 2
Browse files Browse the repository at this point in the history
  • Loading branch information
ariejan committed Dec 18, 2024
1 parent f146b9e commit 4a7ffcc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/solutions/day_18.rb
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ def sim!
r = (0...@corruptions.size)

result = r.bsearch do |corruption_index|
puts "BSearching #{corruption_index} - #{@corruptions[corruption_index].join(',')}"
# puts "BSearching #{corruption_index} - #{@corruptions[corruption_index].join(',')}"
@grid = Array.new(@rows) { Array.new(@cols, '.') }
rain_corruption!(corruption_index)
run! == Float::INFINITY
Expand Down

0 comments on commit 4a7ffcc

Please sign in to comment.