N-queens problem: Difference between revisions
missed some <lang> elements
(Convert <lang> elements to <syntaxhighlight>) |
(missed some <lang> elements) |
||
Line 4,664:
=={{header|EasyLang}}==
<
print "Solution " & n_sol
print ""
Line 5,209:
=={{header|ERRE}}==
<syntaxhighlight>
!------------------------------------------------
! QUEENS.R : solve queens problem on a NxN board
Line 5,345:
The output:
<syntaxhighlight>
| | | |X| | | | | |
| |X| | | | | | | |
Line 14,734:
=={{header|Scilab}}==
Naive brute-force search.
<
Board_size = 8;
Line 16,574:
(either by XSLT processors saxon-6.5.5, xsltproc, xalan,
or any of the big5 browsers):
<syntaxhighlight>
15863724
16837425
|