msiamn

113

Mar 28th, 2016
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.19 KB | None | 0 0
  1. #include<stdio.h>
  2. #include<math.h>
  3. int main()
  4. {
  5. double k,p,n;
  6. while(scanf("%lf%lf",&p,&n)==2)
  7. {
  8.  
  9. k=pow(n,1/p);
  10. printf("%.0lf\n",k);
  11. }
  12. return 0;
  13. }
Advertisement
Add Comment
Please, Sign In to add comment