A monkey eats peach problem

xiaoxiao2021-03-05  19

Main () {INT N, I; For (i = 1, n = 1; i <= 9; i ) n = (n 1) * 2; Printf ("Tou Zi Shi% D", N); getch ();

Half of the rest of the day before you eat, more. 1 10 days left

It is the 9th day, there are (1 1) * 2 before you haven't eaten.

Before you haven't eaten on the 8th day, there is (9th day 1) * 2

..........

n = (n 1) * 2

转载请注明原文地址:https://www.9cbs.com/read-38505.html

New Post(0)