/* ACM 113 * mythnc * 2011/10/18 09:17:44 * run time: 0.008 */ #include <stdio.h> #include <math.h> int main(void) { double p, n; while (scanf("%lf %lf", &n, &p) != EOF) printf("%.0lf\n", pow(p, 1 / n)); return 0; }
張貼留言
沒有留言:
張貼留言