求助70分
查看原帖
求助70分
682200
Zky20110607楼主2022/11/8 19:08
#include<bits/stdc++.h>
using namespace std;
int main()
{
	int a,b;
	cin>>a>>b;
	struct long long c=pow(a,b);
	if(c<=pow(10,9)){
		cout<<c;
	}else{
		cout<<"-1";
	}
	return 0;
}


2022/11/8 19:08
加载中...