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:其实一句话就可以AC

Posted by 810974380 at 2009-08-04 10:50:04 on Problem 2109
In Reply To:其实一句话就可以AC Posted by:pcxjx at 2004-11-27 18:45:39
>

真的是这样~

#include<stdio.h>
int main()
{int m,n;
 while(scanf("%lf%lf",&n,&m)==2) 
 printf("%.0lf\n",pow(m,1/n));
 return 0;
}

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