DozzFizzBuzz by Histocrat

puts 1,(r=2..?d).map{|n|r.map{|f|$*[f]||='QDFBMP'[$.%6,1]<<('eaoiu'*9)[$.+=1]<<'zz'if~-2**f%f+n%f<2}*''}

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

download

return to the top page