#include int main() { int day=9,x1,x2=1; while (day>0) { x1=(x2+1)*2; //第1天的桃子数是第2天的桃子数加1后的2倍 x2=x1; day--; } printf ("%d\n",x1); return 0; }
?