Unable to load image

rDramaAdvent of Code Day 4: Back on Track 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)

21
Jump in the discussion.

No email address required.

The instructions for 2 were very confusing but the actual puzzle was pretty simple

https://i.rdrama.net/images/17016706421820533.webp

Jump in the discussion.

No email address required.

I was scared that part 2 was going to be some hideous mathematical trick but I trusted that Eric wouldn't do that in day 4 and it was OK.

Jump in the discussion.

No email address required.

I spent more time on part 2 thinking there must be some algorithm I was missing and then like 1 minute going "frick it" and writing a double for loop like apparently everyone else did.

Jump in the discussion.

No email address required.

Usually with these problems I focus on quick and dirty first (timed leaderboards lmao) then after I submit I spend some time thinking about the "right way" when the mind goblins aren't telling me to hurry

Jump in the discussion.

No email address required.

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