提交时间:2024-09-24 06:53:11
运行 ID: 51668
#include<bits/stdc++.h> using namespace std; int main() { int a, n, sum = 1; cin >> a >> n; for (int i = 1; i <= n; i++) { sum *= a; } cout << sum; return 0; }