String Halving by david_werecat

def h(s,l=s.size+1)"{"+(l<3?s:h(s[0,l/=2])+h(s[l,l]))+"}"end;puts h gets

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

download

return top