Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
165382 赵天睿 13求n的阶乘 C++ Wrong Answer 1 MS 268 KB 161 2026-11-15 10:14:48

Tests(0/10):


Code:

#include<bits/stdc++.h> using namespace std; int main(){ long long s=1,n; cin>>n; for(int i=1;i<n;i++) { s=n*i; } cout<<s; }


Run Info:

------Input------
11
------Answer-----
39916800
------Your output-----
110