postfix to infix by funnything

char*p,*q,s[99];F(g,a,f){for(a=*p--;g--;g?*--q=a:0)a<48?f=*p/47+42/ *p<a/47+42/a+a/45*g,f?*--q=41:0,F(2),f?*--q=40:0:0;}main(){for(;gets(s);puts(q))q=s+99,p=strchr(s,0)-1,F(2);}

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

download

return to the top page