`
Midnight0101
  • 浏览: 15909 次
  • 性别: Icon_minigender_1
  • 来自: 天津
最近访客 更多访客>>
社区版块
存档分类
最新评论

water~9

阅读更多
poj2109http://poj.org/problem?id=2109
很神奇的居然a了
#include <iostream>
#include <cmath>
using namespace std;
int main()
{
	
	double a,b;
    cout.precision(0);
	cout.setf(ios_base::fixed);
	while(cin>>a>>b)
		cout<<exp(log(b)/a)<<endl;
	return 0;
}

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics