diff options
Diffstat (limited to 'day04')
-rwxr-xr-x | day04/part1 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/day04/part1 b/day04/part1 index 91d38b4..808d5fb 100755 --- a/day04/part1 +++ b/day04/part1 @@ -24,7 +24,7 @@ end times = [] guards.each do |id, days| sum = 0 - days.each do |day| + days.each_value do |day| sum += day.count(true) end times[id] = sum |