String Halving by ush(cheat)

b;P(c){write(1,c,1);}f(n){P("{");n?f(~-n/2,f(n/2)):P(b++);P("}");}main(B){gets(b=&B);f(918);}

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

download

return to the top page