i,n;float x,d;main(a){for(;i||~scanf("%d,%d,%f",&a,&n,&x);i=d*1e3,printf("%.3f%c",x+1e-5,i?44:10))x+=d=(a/pow(x,n-1)-x)/n;}
Note that non-ascii characters in the above source code will be escaped (such as \x9f).
download
return to the top page