// #includes {{{ #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include using namespace std; // }}} // pre-written code {{{ #define REP(i,n) for(int i=0;i<(int)(n);++i) #define RREP(i,a,b) for(int i=(int)(a);i<(int)(b);++i) #define FOR(i,c) for(__typeof((c).begin()) i=(c).begin();i!=(c).end();++i) #define LET(x,a) __typeof(a) x(a) //#define IFOR(i,it,c) for(__typeof((c).begin())it=(c).begin();it!=(c).end();++it,++i) #define ALL(c) (c).begin(), (c).end() #define MP make_pair #define EXIST(e,s) ((s).find(e)!=(s).end()) #define RESET(a) memset((a),0,sizeof(a)) #define SET(a) memset((a),-1,sizeof(a)) #define PB push_back #define DEC(it,command) __typeof(command) it=command //debug #define dump(x) cerr << #x << " = " << (x) << endl; #define debug(x) cerr << #x << " = " << (x) << " (L" << __LINE__ << ")" << " " << __FILE__ << endl; #define debug2(x) cerr << #x << " = [";REP(__ind,(x).size()){cerr << (x)[__ind] << ", ";}cerr << "] (L" << __LINE__ << ")" << endl; const int INF=0x3f3f3f3f; typedef long long Int; typedef unsigned long long uInt; #ifdef __MINGW32__ typedef double rn; #else typedef long double rn; #endif typedef pair pii; /* #ifdef MYDEBUG #include"debug.h" #include"print.h" #endif */ // }}} int a,b; rn t; rn f(rn x){ rn ans=1.0L,l = logl(x); REP(i,a)ans*=x; REP(i,b)ans*=l; return ans; // return log(x)*(rn)a+log(log(x))*(rn)b; } rn df(rn x){ } void main2(int ct){ scanf("%d%d%Lf",&a,&b,&t); // rn l = 1.0L, r = 20L; rn l = 1.0L, r = 200000L; if(a==0){ t = powl(t,1.0L/(rn)b); rn result = exp(t); printf("%.10Lf\n",result); }else if(b==0){ printf("%.10Lf\n",powl(t,1.0L/(rn)a)); }else{ while(r-l>1e-10L){ rn m =(l+r)*0.5L; if(f(m)0)continue; cout<