mysterious parentheses by chocobi

b[99];char*p;f(s,n){printf("(");for(p=b,s=n=0;*p;*p++=n/2+48)s+=n=*p%16+n%2*10;printf(n%2?"())":")",s>1&&f());}main(){for(;gets(b);puts(""))f();}

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

To protect the system from spam, please input your favorite sport (hint: I believe its name must start with 'g', case insensitive)

download

return to the top page