27c3_Generate C by 27c3_xero

a=gets.to_i
b="   "
c=b+["##"]*a*"  "
d=["#"]*a*b
e=" "+d
puts [c,e,d,d,d,e,c]*"
"

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

download

return to the top page