#include#include int main(){ double n,p; while(scanf("%lf%lf",&n,&p)!=EOF) { printf("%.0f\n",pow(p,1/n)); } return 0; }
本文共 250 字,大约阅读时间需要 1 分钟。
#include#include int main(){ double n,p; while(scanf("%lf%lf",&n,&p)!=EOF) { printf("%.0f\n",pow(p,1/n)); } return 0; }
转载于:https://www.cnblogs.com/jackes/archive/2012/04/05/2432763.html