60求调, 必关
查看原帖
60求调, 必关
1630835
meng17801182280楼主2025/7/31 13:53
#include <bits/stdc++.h>
using namespace std;
int main(){
    long long a, b;
    cin >> a >> b;
    if (pow (a, b) > 1000000000) cout << "-1";
    else cout << pow(a, b);
    return 0 ;
}
2025/7/31 13:53
加载中...