| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 149115 | 马俊潇 | 13求n的阶乘 | C++ | Wrong Answer | 0 MS | 272 KB | 152 | 2026-03-07 14:48:54 |
#include<iostream> using namespace std; int main(){ int n,a=0; cin>>n; for(int i=1;i<=n;i++){ a=a+1*i;} cout<<a; return 0;}
------Input------
11
------Answer-----
39916800
------Your output-----
66