<?for(fscanf(STDIN,"%d%d",$x,$y),$a=1.09,bcscale(100);$i++<40;)$a=bcdiv(bcadd(bcmul($a,$x-1),bcdiv($y,bcpow($a,$x-1))),$x);echo$a;
Note that non-ascii characters in the above source code will be escaped (such as \x9f).
download
return to the top page