#include
using namespace std;
int calc_num(int day,int sum);
int main(int argc, char const *argv[])
{
int peach_num;
peach_num = calc_num(10,1);
cout << "猴子一共摘了" << peach << "个桃子" << end;
return 0;
}
int calc_num(int day,int sum)
{
if (day == 1)
{
return sum ;
}
else
return calc_num(day-1,2*sum+2);
}