mirror of
git://git.tartarus.org/simon/puzzles.git
synced 2025-04-21 16:05:44 -07:00
Optimiser placation.
[originally from svn r6257]
This commit is contained in:
@ -2306,6 +2306,7 @@ int main(int argc, char **argv)
|
|||||||
/* Run the solvers easiest to hardest until we find one that
|
/* Run the solvers easiest to hardest until we find one that
|
||||||
* can solve our puzzle. If it's soluble we know that the
|
* can solve our puzzle. If it's soluble we know that the
|
||||||
* hardest (recursive) solver will always find the solution. */
|
* hardest (recursive) solver will always find the solution. */
|
||||||
|
nsol = sflags = 0;
|
||||||
for (diff = 0; diff <= DIFFCOUNT; diff++) {
|
for (diff = 0; diff <= DIFFCOUNT; diff++) {
|
||||||
printf("\nSolving with difficulty %d.\n", diff);
|
printf("\nSolving with difficulty %d.\n", diff);
|
||||||
sflags = flags_from_difficulty(diff);
|
sflags = flags_from_difficulty(diff);
|
||||||
|
Reference in New Issue
Block a user