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)