[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: n-queens -> save the solutions
- From: Peter Hickman <peterhickman386@...>
- Date: Mon, 1 Aug 2011 09:49:17 +0100
Alternatively store the results on line 14 as
solutions[#solutions+1] = char
and display the results as
for s=1,#solutions do
print(solutions[s])
end