Ruby by uru

var s:string='---';i,n:word;begin
repeat
s:=s+s+s;read(n);i:=1div n+1;writeln('/'+s:n*2-i,('\\xe2\x97\x87')[i..i*i]);for i:=2to n do write(^\x1c:i,'/
':2*n-2*i+2)until 1=0end.

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

download

return to the top page