| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 138235 | 彭士宝 | n的阶乘 | C++ | Wrong Answer | 1 MS | 272 KB | 179 | 2025-11-23 20:20:01 |
#include<bits/stdc++.h> using namespace std; int main(){ int n,x=0; cin>>n; for(int i=0;i<=n;i++){ x+=1; n=n*x; } cout<<n; return 0; }
------Input------
6
------Answer-----
720
------Your output-----
-1420957696