I was so worried p2 was going to modify how the instructions worked, like changing the mul ? 0s to mul ? 1s, but no it's just a trivial modification lol
Well, I still have a small chance of getting top 100 for the year, but I'd need like top 40 on d25p1
i think the furthest i got was realizing i worked through it wrong and need to specifically take the "B" values into account when putting something in to try to hit something congruent to 1..9 mod 26
to get a feel for what i need to think through i've set up an interactive prompt that doesn't actually constrain w to be within the valid range of digits so i can just match the x value whenever the fuck i want and it is neat that it doesn't especially seem like i have to specifically match it on the div 26 stages because it's still a matter of adding 0 digits instead of 1
It takes like 10s to start up, since it builds a big huge array and sorts it, but then it uses some recursion and binary searching so the actual answer finding is instant
My approach was using some fancy logic I explained earlier to nail down 7 of the 14 digits, and then brute force the other 7. (so worst case 4,782,969 ops)
AOC lore is always the same "oh no something went wrong with Santa or the sleigh get 50 stars to fix the completely unrealistic situation". Why can't we have an AOC where Santa committed tax evasion and you have to collect 50 stars to bribe the IRS to drop their investigation into Santa's financials?
ah. yeah i've done this before so i knew what it'd be, but yeah i imagine some people spent a while looking at p2 before realizing they should just click the button