Run ID 作者 问题 语言 测评结果 分数 时间 内存 代码长度 提交时间
443396 沈昊煊 【C2-5】乘方计算 C++ 通过 100 1 MS 240 KB 164 2026-06-05 20:17:43

Tests(2/2):


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


测评信息: