题解LS_YZY2025-06-16 19:38:35发布于:浙江2阅读0回复0点赞#include<bits/stdc++.h> using namespace std; int f(int x){ if(x==1) return 1; return f(x-1)*x; } int main(){ int n; cin>>n; cout<<f(n); return 0; } 有帮助,赞一个去预览0/2000发布这里空空如也
有帮助,赞一个