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<stdio.h> #include<math.h> int main() { double n,m; while(scanf("%lf%lf",&n,&m)==2) printf("%.0lf\n",pow(m,1/n)); return 1; } Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator