Run ID 作者 问题 语言 测评结果 时间 内存 代码长度 提交时间
76460 sh25_wanghy 乘方计算 C++ 通过 0 MS 244 KB 236 2025-12-19 15:06:30

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; return 0; }


测评信息: