N-queens minimum and knights and bishops: Difference between revisions
Content added Content deleted
m (formatting) |
|||
Line 466: | Line 466: | ||
using LinearAlgebra |
using LinearAlgebra |
||
""" |
""" Make a printable string from a matrix of zeros and ones using a char ch for 1, a period for !=1. """ |
||
function smatrix(x, n, ch) |
function smatrix(x, n, ch) |
||
s = "" |
s = "" |