I am 7 stars short for whatever pt 2 is... I'm EXTREMELY tempted to just run other people's code on my inputs, so I can know...
I am somewhat fascinated by how simple yet troublesome this problem was!!
Knitter, sewist, Seattle Soccer Fan, occasional tech stuff, whatever else tickles my fancy. Cilantro is fine, but pickles are a waste of a perfectly good cucumber.
@nothe@notacult.social
I am 7 stars short for whatever pt 2 is... I'm EXTREMELY tempted to just run other people's code on my inputs, so I can know...
I am somewhat fascinated by how simple yet troublesome this problem was!!
this problem was a rollercoaster of dumb edge cases. My solution performed juuuust badly enough (~ 3mins), that when pt 2 didn't finish, I didn't think anything of it, and was WAY more patient than I should have been about a long-running process. (more after the break)
wow, elves are WEIRD.
in other news, it turns out the hard part of that, for me? was "what's the area of this rectangle?"
I wrote a lot of boilerplate to avoid having to do coordinate math in multiple places and fucking it up. I'm very glad I did, I should have a while ago so I could've just used it today! :P I am ashamed.
(https://github.com/nothes/AdventOfCode/blob/main/AoC/AoC/Day%2023/day23.swift)
Whelp that took forever, I'm glad I slept on it.
I made peace w/ the fact I was gonna hard-code some values and just go on with life. I had to go through my hardcoded values 3x to find the ones that were WRONG™.
VICTORY.
WAS.
MINE.
(https://github.com/nothes/AdventOfCode/blob/main/AoC/AoC/Day%2022/day22.swift)