Run ID 作者 问题 语言 测评结果 分数 时间 内存 代码长度 提交时间
126875 邓庆凯 计算n的阶乘 C++ 通过 100 0 MS 192 KB 171 2024-01-24 17:17:14

Tests(3/3):


#include<cstdio> using namespace std; int main() { long long s=1; int n; scanf("%d",&n); for(int i=1;i<=n;++i) s*=i; printf("%lld\n",s); return 0; }


测评信息: