Run ID 作者 问题 语言 测评结果 时间 内存 代码长度 提交时间
75421 sh25_shenpy 递归求阶乘 C++ 运行超时 1000 MS 252 KB 191 2025-12-06 17:33:17

Tests(2/3):


#include<bits/stdc++.h> using namespace std; int m(int n) { if(n==1) return 1; else return n*m(n-1); } int main() { int n; cin>>n; cout<<m(n); return 0; }


测评信息: