stash.go 584 B

1234567891011121314151617181920
  1. package solver
  2. import (
  3. "strconv"
  4. )
  5. func (solver *Solver) renderCombination(row1 int, row2 int, row3 int, row4 int, row5 int, row6 int, row7 int, row8 int, row9 int) string {
  6. row1s := strconv.Itoa(row1)
  7. row2s := strconv.Itoa(row2)
  8. row3s := strconv.Itoa(row3)
  9. row4s := strconv.Itoa(row4)
  10. row5s := strconv.Itoa(row5)
  11. row6s := strconv.Itoa(row6)
  12. row7s := strconv.Itoa(row7)
  13. row8s := strconv.Itoa(row8)
  14. row9s := strconv.Itoa(row9)
  15. return row1s + "\n" + row2s + "\n" + row3s + "\n" + row4s + "\n" + row5s + "\n" + row6s + "\n" + row7s + "\n" + row8s + "\n" + row9s + "\n"
  16. }