答案来了不用谢我,天天压住akm

1212121212121 2024-08-30 11:04:33 2

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

{{ vote && vote.total.up }}