27c3_Generate C by [MAD]mosen

n=gets.to_i
s=" "
f,r=s+"  ##"*n,"#"+"   #"*(n-1)
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 to the top page