1. monkey eating peaches

Monkey eating peach issues: the monkey off his first day of a number of peach, half eaten immediately, not addiction, but also to eat the next morning a left turn
at the half-eaten peach, and eat one. Eat before the rest of the day after the morning 

Half a zero. When the morning of the 10th day want to eat, see only one peach. Seeking first day were picked number.

Format: CTF {}

 

n=1
for i in range(9):
n=(n+1)*2
print("%d" %n)

Guess you like

Origin www.cnblogs.com/DennyT/p/11331236.html