Skip to content

Latest commit

 

History

History
17 lines (15 loc) · 220 Bytes

113.md

File metadata and controls

17 lines (15 loc) · 220 Bytes
#include<stdio.h>
#include<math.h>

int main()
{
    double n,p;
    double ans;

    while(scanf("%lf %lf", &n, &p) != EOF)
    {
        ans = pow(p,1/n);
        printf("%.0lf\n", ans);
    }
    return 0;
}