no.2

#include <stdio.h>
#include <math.h>

int main() {
    double n, p;

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

    return 0;
}

 

posted on 2013-02-25 21:24  只差一个转身的距离  阅读(87)  评论(0编辑  收藏  举报

导航