Commit graph

6 commits

Author SHA1 Message Date
9ad7062bf0 add day9 part 2 2023-11-11 12:16:39 -05:00
c9ff65d949 clean up runner 2023-10-29 01:47:54 -04:00
680929a20c day 2 part 2
aoc runner takes part as arg and passes to
init state fn call

refactored day 1 to switch parts dynamically
2023-10-28 13:43:21 -04:00
d84058d959 day 2 part 1 2023-10-28 12:27:59 -04:00
6aa3fbaa58 remove halting logic from day1 2023-10-28 01:31:31 -04:00
c2933897db switch to project format
Fixed a bug in the day1 solution where
the list of totals could add the "current
sum" for a given elf to the list each time
a new entry was added e.g. an input like,

100
200
300

could result in a list like,

[300, 200, 100].

Now we reorder the list at each "reset" (empty line).
2023-10-27 15:47:49 -04:00
Renamed from aoc_runner.ex (Browse further)