Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
160738 吴尔玉 13求n的阶乘 C++ Wrong Answer 1 MS 268 KB 187 2026-09-26 11:29:13

Tests(0/10):


Code:

#include<iostream> using namespace std; int main(){ long long a=1,b; cin>>b; for(int i=1;i<=b;i++){ a*=i; cout<<a<<endl; } cout<<a; return 0; }


Run Info:

------Input------
11
------Answer-----
39916800
------Your output-----
1 2 6 24 120 720 5040 40320 362880 3628800 39916800 39916800