求大佬发题解

 int day=9,x1=0,x2=1;
int main()
{
   
    while(day--)
    {
        x1=(x2+1)*2;
        x2=x1;
    }
    printf("%d\n",x1);
}
5 个赞