Run ID 作者 问题 语言 测评结果 分数 时间 内存 代码长度 提交时间
335153 李俞家骅 【C2-2】阶乘 C++ 解答错误 33 3 MS 252 KB 174 2025-07-22 09:29:26

Tests(1/3):


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


测评信息: