#include #include double calc(int a,int b,double t){ if(a==0) return exp(pow(t,(double)1/b)); if(b==0) return pow(t,(double)1/a); double x=log(11); double lt=log(t); int i; for(i=0;i<10;i++){ double ae=a*exp(x); double f=ae+b*x-lt; double g=ae+b; x-=f/g; if(f/g<1e-12) break; } return exp(exp(x)); } void run(void){ int m; scanf("%d",&m); int i; for(i=0;i