有N個士兵排成一行,現(xiàn)在需要選出幾個人去偵察.
為了完成這個可執(zhí)行如下操作:如果有多于三個士兵,那么所有在奇數(shù)位置(或所有在偶數(shù)位置)的將被剔除.重復執(zhí)行,直到不多于三個士兵.他們就是要被派遣去偵察的人.
求出通過這方法,可以產(chǎn)生有多少組三個士兵的結(jié)果.
注意:產(chǎn)生少于三個士兵的不在考慮范圍
英語翻譯
英語翻譯
Out of N soldiers,standing in one line,it is required to choose several to send them scouting.
In order to do that,the following operation is performed several times:if the line consists of more than three soldiers,then all soldiers,standing on even positions,or all soldiers,standing on odd positions,are taken away.The above is done until three or less soldiers are left in the line.They are sent scouting.Find,how many different groups of three scouts may be created this way.
Note:Groups with less than three number of soldiers are not taken into consideration.
Out of N soldiers,standing in one line,it is required to choose several to send them scouting.
In order to do that,the following operation is performed several times:if the line consists of more than three soldiers,then all soldiers,standing on even positions,or all soldiers,standing on odd positions,are taken away.The above is done until three or less soldiers are left in the line.They are sent scouting.Find,how many different groups of three scouts may be created this way.
Note:Groups with less than three number of soldiers are not taken into consideration.
英語人氣:309 ℃時間:2020-10-01 03:23:44
優(yōu)質(zhì)解答
我來回答
類似推薦
猜你喜歡
- 1sin(π-θ)+cos(2π-θ)/cos(5π/2-θ)+sin(3π/2+θ)=2,則sinθcosθ=______
- 2一到四年級的古詩
- 3南宋時兩大詞人被譽為“蘇辛”,“蘇”指的是蘇軾,那“辛”指的是哪位豪放派詞人?
- 4數(shù)學題,誰來幫幫我呀!O(∩_∩)O謝謝!要過程.000
- 5Although laughter ___ the room ,she feilt lonely.
- 6我們腳下的這塊土地也是一本有趣的書(縮句)
- 7形容路途遙遠.——寫一成語
- 8趣味語文小故事
- 9比喻琴聲優(yōu)美動聽的句子
- 10什么叫“四不像”?
- 11怎樣配置火堿消毒液,
- 12求 大工12春《高等數(shù)學》(上)在線作業(yè)2