Unable to load image

Advent of Code day 3: you guys had ONE JOB edition

I get out of my certification exam and there's only one thread and they put the wrong day so the admins couldn't find it.

This is why we can't have anything nice. I'll just copy yesterday's OP

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)

16
Jump in the discussion.

No email address required.

I wasted a lot of time because first I stored the numbers and symbols in a stupid way, and my first "solution" worked on the small example they gave but not on the data on the big file, there were some weird edge cases I didn't count, but I managed to overcome it and finally store symbols and numbers separately, and the second task ended up being much easier

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

Jump in the discussion.

No email address required.

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