Run ID 作者 问题 语言 测评结果 时间 内存 代码长度 提交时间
80811 sh25_zhangyy 乘方计算 C++ 通过 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; }


测评信息: