Run ID 作者 问题 语言 测评结果 分数 时间 内存 代码长度 提交时间
335155 李俞家骅 【C2-2】阶乘 C++ 通过 100 2 MS 248 KB 180 2025-07-22 09:32:13

Tests(3/3):


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


测评信息: