类型 长度 (bit) 有效数字 绝对值范围
float 32 6~7 10^(-37) ~ 10^38
double 64 15~16 10^(-307) ~10^308
long double 128 18~19 10^(-4931) ~ 10 ^ 4932
#include<iostream>
#include<cmath>
using namespace std;
double n,p;
int main(){
while(cin>>n>>p){
cout<<pow(p,1/n)<<endl;
}
}