Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
93603 | 张新福 | 13求n的阶乘 | C++ | Wrong Answer | 1 MS | 268 KB | 146 | 2024-10-18 14:17:53 |
#include <iostream> using namespace std; int main(){ int i,n; long long x; cin>>n; for(i=1;i<=n;i++){ x*=i; } cout<<x<<endl; }
------Input------
11
------Answer-----
39916800
------Your output-----
167453530675200