Run ID Author Problem Lang Verdict Time Memory Code Length Submit Time
80811 sh25_zhangyy 乘方计算 C++ Accepted 0 MS 244 KB 223 2026-01-04 15:32:16

Tests(1/1):


#include <iostream> using namespace std; int main() { int a, n; cin >> a >> n; int result = 1; for (int i = 0; i < n; ++i) { result *= a; } cout << result << endl; }


Judgement Protocol: