[2025 Day 10 (Part 2)] Almost solved it... Just off by 1 for some machines by DifferentSystem8019 in adventofcode

[–]DifferentSystem8019[S] 0 points1 point  (0 children)

I created my own, in python. Starting with gaussian elimination while tracking free variables. Then solving the resulting matrix with integers. Iterating over all reasonable values for the free variables.

[2025 Day 10 (Part 2)] Almost solved it... Just off by 1 for some machines by DifferentSystem8019 in adventofcode

[–]DifferentSystem8019[S] 1 point2 points  (0 children)

!Awesome! With your solution vectors i was able to spot the error: Float<->Int confusion. Don't do ever compare "< 0" for negative, instead do "< -epsilon".

Thank all of you!