Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include<stdio.h>
- int main()
- {
- double n,p,k;
- while(scanf("%lf%lf",&n,&p)==2)
- {
- k=pow(p,1/n);
- printf("%.0lf\n",k);
- }
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement