Commit Graph

7 Commits

Author SHA1 Message Date
a1a833f9a1 Day 4
This is more what I was expecting for the first few days.
2023-12-04 08:24:42 -06:00
828f89cca2 Fix ReadAllText
I guess I've either never used this or only used it for one-line files because it was only ever returning the last line of the file.
2023-12-03 14:41:34 -06:00
411898e9f4 Much better day 3 solution
This moves all the actual handling to the parse function (so that part 2 can run on its own instead of requiring part 1 to fill its data structure for it). Now each part is just operating on the segment of the parsed data that is appropriate to it, and we can much more efficiently handle gears as we come across numbers instead of trying to search for numbers after finding a gear.
2023-12-03 14:29:01 -06:00
47dec863e7 Day 3
I have a much more robust idea for part 2, but I don't feel like implementing it tonight.
2023-12-03 01:12:50 -06:00
89d4713467 Day 2 2023-12-02 08:41:15 -06:00
7c6694af02 Day 1
It's messy and it took me a frighteningly long time to get part 2 correct (not a good sign...) but it is finished.
2023-11-30 23:59:59 -06:00
4547803969 Initial commit, prep 2023-11-22 15:06:15 -06:00