bd9170e332
day 8 optimizations
...
- avoid regex by using pattern matching
- avoid looping through the acc on loop_receive by passing a count arg
- remove the list acc for loop_receive by calculating lcm each time a
message is received
- convert from search to direct lookup for next instruction
2023-12-08 12:21:58 -05:00
090daaa7a8
return answer in solve, print in run
2023-12-08 11:34:21 -05:00
d22fcbbedd
day 8 benchmark
2023-12-08 11:25:25 -05:00
3cd2b6abe2
separate run from solve day8
2023-12-08 11:25:15 -05:00
3d857d9b37
day 8
2023-12-08 02:00:19 -05:00
23f8a28bbd
optimize day7 with cache on hand_type
2023-12-07 10:32:48 -05:00
8c60dd6550
day 7
2023-12-07 03:04:11 -05:00
5a20c55b4c
day5 pt 2 optimizations
2023-12-06 15:30:37 -05:00
0c2d682398
mix format
2023-12-06 13:53:13 -05:00
fda0c5af94
create 2023 dir
2023-12-06 13:52:42 -05:00
07125c75ce
2023 day 6
2023-12-06 00:58:36 -05:00
027ed5aeb6
day 5 solution and utils
2023-12-05 16:42:27 -05:00
e3d6c5350b
day 5 part 1
2023-12-05 02:35:49 -05:00
2916c3c816
day 4 brevity
2023-12-04 01:17:07 -05:00
b7744eb2a3
2023 day 4
2023-12-04 01:02:52 -05:00
c66e437700
add input folder
2023-12-03 19:07:55 -05:00
5f3ac1eb76
add get_input task
...
call with `mix get_input <year> <day>` and it
will write to `input/<year>_<day>.txt`
2023-12-03 19:06:47 -05:00
0d4599d1ba
add httpoison
2023-12-03 19:06:32 -05:00
cd1d82b345
ignore .session
2023-12-03 19:06:16 -05:00
32e036b925
remove input padding
2023-12-03 02:39:24 -05:00
c7b996aea5
2023 day 3
2023-12-03 02:36:33 -05:00
5d59234db4
mix format
2023-12-02 02:14:44 -05:00
fc5f461fe3
add test watch
...
mix.lock
2023-12-02 02:14:39 -05:00
4c58c68173
2023 day2
2023-12-02 02:13:31 -05:00
e07537d56d
2023 day1
2023-12-02 02:13:16 -05:00
d6fce584fd
mix format
2023-12-02 02:11:54 -05:00
7c0ebe4c50
day 10 part 2
2023-11-11 21:12:19 -05:00
f45cf1cac5
day10 part 1
2023-11-11 15:06:07 -05:00
323afa6c4b
rewrite
2023-11-11 12:26:23 -05:00
9ad7062bf0
add day9 part 2
2023-11-11 12:16:39 -05:00
70d3b9cce8
add day9 part1 solution:
2023-11-10 17:17:00 -05:00
c9ff65d949
clean up runner
2023-10-29 01:47:54 -04:00
bac2473cd9
remove debug var
2023-10-29 01:09:26 -04:00
5b6b8bb55b
day 3 part 1
2023-10-29 01:07:11 -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
3f047cd890
refactor day1 to use execute function
2023-10-28 12:30:04 -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
fc3afda4eb
split code into modules
2023-10-27 14:08:28 -04:00
2af0a9f6c1
day 1 part 2
2023-10-25 00:13:37 -04:00
87fd00fe94
spelling
2023-10-22 16:26:48 -04:00
406d9cc34d
day 1 part 1
2023-10-20 13:09:35 -04:00