2 ms·
Exactly. I would just feed this to a counting SAT, or constraint, solver. If I wrote the constraint solver, does that count as an acceptable answer? There ar
by CJefferson 15y ago
Exactly.
I would just feed this to a counting SAT, or constraint, solver.
If I wrote the constraint solver, does that count as an acceptable answer?
There are some fancy ways of doing this, involving lots of bitshifting, which are quite fun.
Edit: Remove mis-remembered bitshifting.