i,j,k;main(c){for(;c=getchar()+1;c<12&&(i=j=k=!printf("%f\n",1.*k/(j+k-2))))i?c-i?++j:++k:(i=c);}
Note that non-ascii characters in the above source code will be escaped (such as \x9f).
download
return to the top page