|
I'm on it, elves!
|
# ¿ Dec 2, 2015 18:38 |
|
|
# ¿ May 13, 2024 19:02 |
|
I spent so much time on 9 to get a recursive thing to work without crapping on me. Turned out sometimes js really fucks with its variables. Nothing a judicious use of var can't fix, but I still don't know where exactly it went wrong. Bah humbug. For 7 I couldn't get my head around it until I figured out that the value of a wire was an equation with variables and if you knew the value of those variables you could substitute the equation for the resulting value. Keep looping over the wires until solved. If I had a cs background I'd probably create a graph from all the rules and walk it top to bottom, but eh close enough!
|
# ¿ Dec 14, 2015 12:24 |
|
LOOK I AM A TURTLE posted:I like how you're giving us all these NP-complete problems but making the datasets juuust small enough that you can brute force them. The best part about that is that you don't need to have arcane data structure knowledge (aka a cs degree) to participate.
|
# ¿ Dec 15, 2015 13:31 |