标签:c a int amp io poj
#include <stdio.h>#include <math.h>double n,p;int t; int main(){ while(~scanf("%lf%lf",&n,&p)) { t=int (pow(p,1/n) + 0.5); printf("%d\n",t); } return 0;}
poj2109,布布扣,bubuko.com
poj2109
原文地址:http://www.cnblogs.com/zhangmingcheng/p/3776788.html