delete pics to save space
This commit is contained in:
16
history_source/信息学奥赛一本通/1.6.2.1.cpp
Normal file
16
history_source/信息学奥赛一本通/1.6.2.1.cpp
Normal file
@ -0,0 +1,16 @@
|
||||
#include<cstdio>
|
||||
using namespace std;
|
||||
int akm(int m,int n)
|
||||
{
|
||||
if(m==0) return n+1;
|
||||
if(m>0&&n==0) return akm(m-1,1);
|
||||
if(m>0&&n>0) return akm(m-1,akm(m,n-1));
|
||||
}
|
||||
int main()
|
||||
{
|
||||
int m,n;
|
||||
scanf("%d%d",&m,&n);
|
||||
printf("%d\n",akm(m,n));
|
||||
return 0;
|
||||
}
|
||||
|
Reference in New Issue
Block a user