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 lgeecn at 2012-08-26 21:29:28 on Problem 2109
#include<iostream>
#include<cmath>
#include<iomanip>

int main()
{
	std::ios::sync_with_stdio(false);
	for(double a,b;std::cin>>a>>b;std::cout<<std::fixed<<std::setprecision(0)<<std::pow(b,1/a)<<std::endl);
	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