Add number of passes to benchmark output

This commit is contained in:
2022-11-23 15:46:21 +00:00
parent 07c1fc7a0f
commit d74b5410b6
3 changed files with 20 additions and 12 deletions

View File

@@ -22,9 +22,10 @@
#include "sud.h"
/**
* Attempt to solve the given sudoku. Returns when no rules match for
* an entire pass over the puzzle.
* Attempt to solve the given sudoku. Finishes when no rules match for
* an entire pass over the puzzle, returning the number of passes, or
* -1 on error.
*/
bool solve(struct sudoku *sud);
int solve(struct sudoku *sud);
#endif