N-queens minimum and knights and bishops: Difference between revisions
N-queens minimum and knights and bishops (view source)
Revision as of 16:43, 27 April 2022
, 2 years ago→{{header|J}}: fix broken state space pruning mechanism
m (→{{header|J}}: fix broken state space pruning mechanism) |
|||
Line 349:
if. 0 e.,board do.
if. N>#x do.
seq=. (x,open) m place1 N board
if. N>:#seq do.
N=. <:#r=. seq
|