27c3_Generate C by [mad]mosen&nivoc

n=gets.to_i\x0d
s=" "\x0d
f=s+"  ##"*n\x0d
r="#"+"   #"*(n-1)\x0d
puts f,s+r,r,r,r,s+r,f

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

download

return top