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

无语,开始以为要高精度呢~~~游啊游

Posted by stupidjohn at 2010-05-27 18:03:16 on Problem 2109
#include<stdio.h>
#include<math.h>
int main()
{
	double n,m;
	while(scanf("%lf%lf",&n,&m)==2) printf("%.0lf\n",pow(m,1/n));
	return 1;
}

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