Solution to the problem number 113 of UVA - 113.

Any questions do not hesitate to contact.

#include <bits/stdc++.h>
#define INF 0x3F3F3F3F
using namespace std;

int main()
{
    double x,n;
    while(scanf("%lf%lf",&n,&x)==2)
    {
        printf("%.0lf\n",pow(x,1.0/n));
    }
    return 0;
}

Don't miss anything.

Keep in touch with Isaac Lozano Osorio!