Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Holiday brain teasers.
Message
 
To
27/12/1998 20:53:33
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00170034
Message ID:
00170674
Views:
28
Hi Vlad,

>2. The smurfs solve it in the second day. This means there are 2 reds because there are at least 2 and the red ones can see that there are at most 2, etc. But they don't solve it in the 2nd day, so, there are at least 3.

OK, this would mean that each smurf must go to the king after x+1 days where x is the number of hats he sees. So if a smurf sees 12 green hats, he must go to the king on day 13. If he has a green hat, then all green smurf would meet on day 13. And if he has a red hat, all green smurfs would have met on day 12, because they could only see 11 green smurfs. And the red one would be just in time for the meeting of red smurfs.

Did I get it?

Christof
--
Christof
Previous
Reply
Map
View

Click here to load this message in the networking platform