#include<bits/stdc++.h> using namespace std; int main( ){ long long a,b,c; cin>>a>>b; c=pow(a,b); int d=pow(10,9); if(c>d){ cout<<"-1"; } if(c>=0&&c<=d){ cout<<c; } return 0; }
求助各位大佬,为什么没有全部AC???
详情请点击。谢谢!!!