Online Judge | Problem Set | Authors | Online Contests | User | ||||||
---|---|---|---|---|---|---|---|---|---|---|
Web Board Home Page F.A.Qs Statistical Charts | Current Contest Past Contests Scheduled Contests Award Contest |
真奇特的测试数据void solve() { double res=0; while (true) { res++; if (pow(res,n)>=p) break; } cout<<res<<endl; return ; }//wa while(scanf("%lf%lf",&n,&p)==2) printf("%.0lf\n",pow(p,1.0/n)); //ac Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator