N Queens by murky-satyr

v(gt).e.pe{|a|y=0
a.a{|x|i=0
a[y+=1,7].a{|v|(v-x).abs!=i+=1}}&&s(a*' ')}

Note that non-ascii characters in the above source code will be escaped (such as \x9f).

download

return to the top page