Commit Graph

8 Commits

Author SHA1 Message Date
df526c6e3f Day 7
This solution is bad and slow and there are probably ways to make it not as bad and not as slow, but I'll take < 1 second runtime for now.
2024-12-07 10:19:02 -06:00
7c49d88869 Day 6
Part 2 gave me more trouble than it should have, mostly because I was initially turning and stepping at the same time which ended up being a big mistake.

This runs in a few seconds in Debug, but only a half a second in Release. I feel like it can be much faster, but I don't have any ideas on doing that just yet.
2024-12-06 08:34:42 -06:00
ed5ca6d763 Day 5
It took me a minute to figure out a good solution for part 2, but I'm pretty happy with the custom-sort-function implementation.

I also really like the LINQ one-liners for getting the actual totals. I feel like future-me is going to be mad and confused, but right now it feels fun!
2024-12-05 00:35:58 -06:00
66f0f805a8 Day 4
This solution feels pretty bad. I think I shouldn't have used my ivec2 utilities and just checked the next spots for part 2. It would probably have been simpler given all the constraints. I'm also certain there's a smarter way to solve this than what I did, but...it works, so...?
2024-12-04 08:45:21 -06:00
dbee23c6a3 Day 3
With thanks to my best friend Regex
2024-12-03 07:59:16 -06:00
e6c4473934 Day 2
This is ugly, but the problem is small enough that it works just fine.
2024-12-02 08:20:03 -06:00
0359b86174 Add automatic input downloading
Since we no longer include input files with the solution, per AoC guidelines, this will enable other users to use this application (after specifying their session token) without manually grabbing all the appropriate download files.
2024-12-01 11:13:56 -06:00
8120a52ba0 Day 1 2024-11-30 23:17:46 -06:00