给个赞
2025-07-28 13:28:53
发布于:江苏
12阅读
0回复
0点赞
#include<bits/stdc++.h>
using namespace std;
int a(int x,int y){
if(x0){
return y+1;
}
else if(y0){
return a(x-1,1);
}
else{
return a(x-1,a(x,y-1));
}
}
int main(){
int n,m;
cin>>m>>n;
cout<<a(m,n);
return 0;
}
这里空空如也
有帮助,赞一个