String Halving by inaniwa

#define P putchar(
char s[];f(a,b,c){P'{');b-a?f(a,c=a+b>>1),f(c+1,b):P s[a]);P'}');}main(){f(!gets(s),918);}

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

download

return to the top page