function MonkeyEatPeach($day){
$count = 2;
for ($i=$day; $i > 1 ; $i--) {
$count = $count*2+2;
}
return $count;
}
function MonkeyEatPeach($day){
$count = 2;
for ($i=$day; $i > 1 ; $i--) {
$count = $count*2+2;
}
return $count;
}
本文标题:一只猴子第一天摘下若干个桃子,当即吃了一半,还不过瘾,又多吃了一
本文链接:https://www.haomeiwen.com/subject/aqjjdqtx.html
网友评论