文学城论坛
+A-

SAP智力题-----A bum in wine cellars ★★★★★★★

Williamluo 2009-08-20 22:18:30 ( reads)

There are 9 wine cellars located side by side in a street, a bum is hiding in one of of them. Everyday he would drink one bottle of wine and leave the empty bottle on the ground. Everynight, he will move to an adjacent cellar. From the day he begins to hide, the police begin to search, everyday they will search one cellar. How many days are necessary and sufficient to find the bum?
----Designed by Hansen Chen in 2008( https://www.sdn.sap.com/irj/scn/forum?forumID=410 )

I got the inspiration from a puzzle called "burglar in rooms", it is much more challenging by adding the bottle to the logic.

If you can solve this puzzle, try to consider an extended one: ★★★★★★★★
There are 999 wine cellars located side by side in a street, a bum is hiding in one of of them. Everyday he would drink one bottle of wine and leave the empty bottle on the ground. Everynight, he will move to an adjacent cellar. From the day he begins to hide, the police begin to search, everyday they will search one cellar.
1. how to find the bum in less than 1020 days?
2. how to find the bum in less than 999 days?
(The extended one is not as time-consumming as imagined. And the strategy is totally different from the 9-cellar one.)

跟帖(5)

iooooooi

2009-08-21 08:48:23

回复:SAP智力题-----A bum in wine cellars ★★★★★★★

iooooooi

2009-08-21 08:58:48

Also, does the bum aware which cellar the police searched the da

dynamic

2009-08-21 14:46:53

My understanding of the problem

panzertiger503

2009-09-01 12:40:06

回复:SAP智力题-----A bum in wine cellars ★★★★★★★

panzertiger503

2009-09-01 12:59:45

I am wrong