ProbToreal
অভিকের টিউটোরিয়াল, টিপস এ্যান্ড ট্রিকস ব্লগ
Search Here
Go
Navigation
All Posts
বাংলা টিউটোরিয়াল
About Me
Wednesday, May 6, 2015
UVa - 113 ( Power Of Cryptography Solution )
Tips
:
Try Yourself First . For Help Scroll Down.
Code
:
#include<stdio.h>
#include<math.h>
int main()
{
double n,p;
double count;
while(scanf("%lf %lf",&n,&p)==2)
{
count = pow(p,1/n);
printf("%.0lf\n",count);
}
return 0;
}
=> Questions ?? Leave A Comment .
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment