Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
4683 | 黄宜洋 | 13求n的阶乘 | C++ | Wrong Answer | 0 MS | 268 KB | 188 | 2024-09-07 14:58:06 |
# include<iostream> using namespace std; int main(){ int n,s=1; scanf("%d",&n); for(int i=1;i<=n;i++){ s*=i; } printf("%d",s); return 0; }
------Input------
17
------Answer-----
355687428096000
------Your output-----
-288522240