Run ID 作者 问题 语言 测评结果 分数 时间 内存 代码长度 提交时间
126763 邓庆凯 计算n的阶乘 C++ 编译错误 0 0 MS 0 KB 169 2024-01-24 17:04:50

Tests(0/0):


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


测评信息: