oh great another validation task, at least that's straightforward #AdventOfCode
advent of code day 15 part 2
Funny enough I first attempted the efficient solution for part 1, completely misunderstood the rules of the "game" and came up with the monstrosity you can see above.
After being completely stumped by part 2 (I don't think I have enough RAM to use the part 1 solution), I looked at the sub for a hint and found this Numberphile video, and finally understood the rules well enough to make the part 2 solution.
I still wasted way too much time on off-by-one errors and squeezing the input into my algorithm but at least it's fast enough
I just completed "Rambunctious Recitation" https://pastecode.io/s/cob88uGM74 #AdventOfCode https://adventofcode.com/2020/day/15
asking for help, housing, please boost
Hi, firstly we're an ADHD disabled white trans plural system in Baltimore county MD. We have a cat and are stuck under our abusive parents.
We need someone to take us in because we can't really get out any other way, we can't drive or work. Living here has been extremely detrimental to our mental health, and we really needed out a long time ago.
It's rough rn but if you can have us please, heck even if you need another person to drive us there.
oh and this is the first time I've written PHP 8, so there's that (it's just str_starts_with())
I've completed "Docking Data", this might be the worst code I've ever written but it does work https://wtools.io/paste-code/b2UW #AdventOfCode https://adventofcode.com/2020/day/14
~ awoo.space admin ~ bisexual ~ nonbinary ~ likes video games and weird/ old electronics and will post obsessively about both ~ AC, Germany ~ avatar by @dzuk