String Halving by nn(youz)

s=System.in.text
i=0
f={"{${it?f(it>>1)+f(~-it>>1):s[i++]}}"}
print f(918)

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

download

return to the top page