POJ 2019 Power of Cryptography

技巧。

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


 

 

版权声明:本文为博主原创文章,未经博主允许不得转载。

posted on 2015-04-13 18:25  王老大-  阅读(163)  评论(0编辑  收藏  举报

导航