| ||||||||||
| 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 | |||||||||
一个语句AC,真的很帅!对double#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: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator