Run ID 作者 问题 语言 测评结果 分数 时间 内存 代码长度 提交时间
439364 陈梓霖 【C2-2】乘方计算 C++ 解答错误 0 0 MS 244 KB 157 2026-05-07 16:22:54

Tests(0/2):


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


测评信息: