为什么显示编译失败?
查看原帖
为什么显示编译失败?
1325465
hark楼主2024/3/27 18:40

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

2024/3/27 18:40
加载中...