Skip to content

Files

Latest commit

be28ac0 · Dec 23, 2022

History

History

day23

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
Dec 23, 2022
Dec 23, 2022

🎄 Advent of Code 2022 - day 23 🎄

Info

Task description: link

Notes

Pretty fun one. I got really tripped up by the solution for part 1 though. I was calculating the area wrong (my width and height were off by one) and the difference between my area and the actual area happened to be the same as the number of elves. So when it said "how many empty ground tiles", I was confused because it seemed to be any ground tiles, empty or not.

Now I'm trying to figure out how to optimize this. Part 2 takes 4-5 seconds to run. Hmm.