80分
查看原帖
80分
1113507
HEROBRINEH楼主2024/6/23 14:46
#include<bits/stdc++.h>
using namespace std;
int main(){
	int a,b,c;
	cin>>a>>b;
	c=pow(a,b);
	if(a>10&&b>9) cout<<-1;
	else cout<<c;
	return 0;
}
2024/6/23 14:46
加载中...