Skip to content

Commit 4e70bc4

Browse files
committed
Fix day 9 puzzle
1 parent b1257b1 commit 4e70bc4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/solutions/day_09.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@ class Day09
22
attr_accessor :input, :disk, :checksum
33

44
def part_one(input)
5-
return 0
65
# Parse input
76
parse_input(input)
87

98
# Defrag
109
defrag!
10+
@disk.compact!
1111

1212
checksum!
1313
@checksum

0 commit comments

Comments
 (0)