Unable to load image

rDrama Advent of Code Day 16: Energized Edition

Summary for those just joining us:

Advent of Code is an annual Christmas themed coding challenge that runs from December 1st until christmas. Each day the coding problems get progressively harder. We have a leaderboard and pretty good turnout, so feel free to hop in at any time and show your stuff!

Whether you have a single line monstrosity or a beautiful phone book sized stack of OOP code, you can export it in a nice little image for sharing at https://carbon.vercel.app

What did you think about today's problem?

https://adventofcode.com/2023

Our Code is 2416137-393b284c (No need to share your profile, you have the option to join anonymously if you don't want us to see your github)

15
Jump in the discussion.

No email address required.

a table of beams and directions

dis is da way.

Also btw, I had a useful runner for my code that downloads the input but also, importantly, maintains an answer database (a dict dumped into a json file). I did that specifically so that I can rewrite the code, especially after getting the first star and realizing that it's too slow for the second star, and still know that it gives the correct answer for part 1. Also when for when I change some utility function, then rerun all problems to see that they all still work. Highly recommend.

Jump in the discussion.

No email address required.

Sounds pretty handy, tbh except for rare days like today I usually wake up around 9 hours after the event starts so I'm not under a lot of time pressure.

Jump in the discussion.

No email address required.

A buddy extended a similar framework with a thing that commits the downloaded input immediately, so you can tell how much time it took you and compare to other dramatards.

Also there's a https://github.com/jeroenheijmans/advent-of-code-charts extension for chrome and firefox that shows various charts and people sorted by the most important parameter: the delta between the first and second star.

Jump in the discussion.

No email address required.

Link copied to clipboard
Action successful!
Error, please refresh the page and try again.