2024-12-07 19:23:45 +01:00
|
|
|
package solver
|
|
|
|
|
|
|
|
import (
|
|
|
|
"strconv"
|
|
|
|
)
|
|
|
|
|
2025-01-28 00:31:02 +01:00
|
|
|
// Prepare a valid solution for storage.
|
2025-01-28 01:43:47 +01:00
|
|
|
func (solver *Solver) renderCombination(row1 int, row2 int, row3 int, row4 int, row5 int, row6 int, row7 int, row8 int, row9 int) []string {
|
2024-12-07 19:23:45 +01:00
|
|
|
|
|
|
|
row1s := strconv.Itoa(row1)
|
|
|
|
row2s := strconv.Itoa(row2)
|
|
|
|
row3s := strconv.Itoa(row3)
|
|
|
|
row4s := strconv.Itoa(row4)
|
|
|
|
row5s := strconv.Itoa(row5)
|
|
|
|
row6s := strconv.Itoa(row6)
|
|
|
|
row7s := strconv.Itoa(row7)
|
|
|
|
row8s := strconv.Itoa(row8)
|
|
|
|
row9s := strconv.Itoa(row9)
|
|
|
|
|
2025-01-28 01:43:47 +01:00
|
|
|
return []string{row1s, row2s, row3s, row4s, row5s, row6s, row7s, row8s, row9s}
|
2024-12-07 19:23:45 +01:00
|
|
|
}
|