Online JudgeProblem SetAuthorsOnline ContestsUser
Web Board
Home Page
F.A.Qs
Statistical Charts
Problems
Submit Problem
Online Status
Prob.ID:
Register
Update your info
Authors ranklist
Current Contest
Past Contests
Scheduled Contests
Award Contest
User ID:
Password:
  Register

Re:ft....就这么AC了……

Posted by yuhuafx at 2008-08-15 17:04:06 on Problem 2109
In Reply To:ft....就这么AC了…… Posted by:FinalLaugh at 2004-11-30 09:32:57
哎,这个题真够吓人的。。。。。。。。。。
#include<stdio.h>
#include<math.h>
int main()
{
     double n=0,m=0;
     while(scanf("%lf%lf",&n,&m)==2) 
          printf("%.0lf\n",pow(m,1/n));
     return 0;
}
就这么一试...........AC

Followed by:

Post your reply here:
User ID:
Password:
Title:

Content:

Home Page   Go Back  To top


All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator