27c3_Generate C by jchillerup

n=gets.to_i;a="  ##"*n+"\x0d
";b="#"+"   #"*(n-1)+"\x0d
";puts" #{a} #{b*4} #{b} #{a}"

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

download

return to the top page