Run ID 作者 问题 语言 测评结果 分数 时间 内存 代码长度 提交时间
126601 林麒瑞 计算n的阶乘 C++ 通过 100 0 MS 244 KB 163 2024-01-24 16:45:24

Tests(3/3):


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


测评信息: