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 zuqiuxiaozi0402 at 2009-08-12 20:53:58 on Problem 2109
水题,粘之
#include<iostream>
#include<cmath>
using namespace std;

int main()
{
	double n,m;	
	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