Run ID 作者 问题 语言 测评结果 时间 内存 代码长度 提交时间
72681 sh25_zhuwy 乘方计算 C++ 通过 0 MS 244 KB 156 2025-11-02 13:47:51

Tests(1/1):


#include<bits/stdc++.h> using namespace std; int main() { int a,n,s=1; cin>>a>>n; for(int i=0;i<n;i++) { s=s*a; } cout<<s; return 0; }


测评信息: