27c3_Generate C by

n=gets.to_i
l="\n"
s=" "
f=s+("  ##"*n)
r=("#   "*n).rstrip+l
puts f+l+s+r+r*3+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