#include <iostream>
#include <cstdio>
#include <cmath>
using namespace std;
int main()
{
#ifndef ONLINE_JUDGE
freopen("in.txt", "r", stdin);
#endif
int n;
double p;
while(scanf("%d%lf", &n, &p)==2)
{
printf("%.lf\n", pow(p, 1.0/n));
}
return 0;
}
UVa 113 Power of Cryptography
最新推荐文章于 2021-08-25 09:47:37 发布