Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /***********************************************************************\
- |*********S*** ****** ************* ************ ************** ******|
- |*********** ******** ************ ************ *********** ** ******|
- |********* ********** *********** *** ********** * ********* *** ******|
- |******** *********** *I******** **** ********** *** ***** ***** ******|
- |******** *********** ********* ****** ********* ***** ** ****** ******|
- |********** ********* ******** ***A**** ******** ******* ******* ******|
- |*********** ******** ******* ********** ******* *************** ******|
- |********** ********* ****** ************ ****** *************** ******|
- |******** *********** ***** ************** ***** ********M****** ******|
- |***** ************** **** **************** **** *************** ******|
- |***********************************************************************|
- |**************BSMRSTU********************************CSE***************|
- \***********************************************************************/
- #include<stdio.h>
- #include<string.h>
- #include<math.h>
- #include<conio.h>
- #include<stdlib.h>
- #define ll long long
- #define B break
- #define C continue
- #define sf scanf
- #define pf printf
- #define byebye return 0
- int main()
- {
- double k,p,n;
- while(sf("%lf%lf",&p,&n)==2)
- {
- k=pow(n,1/p);
- pf("%.0lf\n",k);
- }
- byebye;
- }
Advertisement
Add Comment
Please, Sign In to add comment