Run ID 作者 问题 语言 测评结果 分数 时间 内存 代码长度 提交时间
148742 林麒瑞 计算n的阶乘 C++ 通过 100 0 MS 236 KB 157 2024-05-25 14:38:00

Tests(3/3):


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


测评信息: