| ||||||||||
| Online Judge | Problem Set | Authors | Online Contests | User | ||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Web Board Home Page F.A.Qs Statistical Charts | Current Contest Past Contests Scheduled Contests Award Contest | |||||||||
真水。。#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: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator