printers.go 218 B

12345678910111213
  1. package solver
  2. import (
  3. "fmt"
  4. "log"
  5. )
  6. func (solver *Solver) printSolutions() {
  7. for solutionIndex, solution := range solver.solutions {
  8. log.Printf("\nSolution #%d:", solutionIndex+1)
  9. fmt.Println(solution)
  10. }
  11. }