| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 76456 | 刘慕莀 | 13求n的阶乘 | C++ | Wrong Answer | 0 MS | 272 KB | 161 | 2024-06-02 14:36:10 |
#include<iostream> using namespace std; int main(){ long long a, n = 1; cin >> n; for(int i=1;i<=n;i++){ a = a*i; } cout<<a; return 0; }
------Input------
11
------Answer-----
39916800
------Your output-----
167453530675200