| ||||||||||
| 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 | |||||||||
Re:ft....就这么AC了……In Reply To:ft....就这么AC了…… Posted by:FinalLaugh at 2004-11-30 09:32:57 哎,这个题真够吓人的。。。。。。。。。。
#include<stdio.h>
#include<math.h>
int main()
{
double n=0,m=0;
while(scanf("%lf%lf",&n,&m)==2)
printf("%.0lf\n",pow(m,1/n));
return 0;
}
就这么一试...........AC
Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator