Sudoku Py / C++11 / D?
maarten van damme
maartenvd1994 at gmail.com
Sun Aug 19 18:28:54 PDT 2012
> Depends. Do you plan on doing more than brute force? Having it
> bulk copy them may not be that bad if it's all in one place, and
> if you do it like that you have all the combinations that carry
> forward to the next level and if you back out it undoes them all
> automatically.
>
No, I think doing something else then brute-force would simply be a
waste of time (except for finding singles in which case you don't need
to use a brute force solver right?)
These are of course speculations, I'm not sure.
>> Going even further I could even store a filled-in value as an
>> array with one possibilities...
>
> As long as you can tell it apart for it to work, that's up to
> you.
>
yes, that is indeed going to be the problem ...
More information about the Digitalmars-d-learn
mailing list