checkers pattern by murky-satyr

Y,X:stdin.get_s(9).split(" ").to_a;Y.to_i.times{|y|X.to_i.times.map(|x|x+y+1&1).join(" ").p;}

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

download

return to the top page