码迷,mamicode.com
首页 > 其他好文 > 详细

POJ 2019 Power of Cryptography

时间:2015-04-13 18:54:12      阅读:137      评论:0      收藏:0      [点我收藏+]

标签:c++   poj   2109   

技巧。

#include<iostream>
#include<cmath>
using namespace std;
double n,p;
int main(){	
	while(cin>>n>>p){
		cout<<pow(p,1/n)<<endl;
	}
}


 

 

POJ 2019 Power of Cryptography

标签:c++   poj   2109   

原文地址:http://blog.csdn.net/wangxinxin_/article/details/45030073

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!