Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
5683 詹梓涵 13求n的阶乘 C++ Wrong Answer 0 MS 256 KB 189 2024-12-14 09:15:10

Tests(1/10):


Code:

#include<iostream> // cin\cout\endl using namespace std; int main(){ int n,s=1; cin>>n; for(int i=1;i<=n;i++){ s=s*i; } cout<<s<<endl; return 0; }


Run Info:

------Input------
17
------Answer-----
355687428096000
------Your output-----
-288522240