[algogeeks] Re: MS BRAINTEASR

2011-08-18 Thread icy`
hmm... interesting logic, but what about, for example, 8 people and 3 hats. Why can't one of the five without hats also be unsure and try to go swimming on one of the nights? I was thinking, if they somehow know how many hats there are (writing numbers in the sand or other cheating methods), i

[algogeeks] Re: MS BRAINTEASR

2011-08-18 Thread chhabraamit
Time taken by one man only . As a person can do only at exactly mid night so , all have to do together only at midnight . On Aug 18, 3:51 pm, "pg@manit" wrote: > A bunch of men are on an island. A genie comes down and gathers > everyone together and places a magical hat on some people’s heads >

[algogeeks] Re: MS BRAINTEASR

2011-08-18 Thread DheerajSharma
ur welcume :) On Aug 18, 4:12 pm, payal gupta wrote: > hmm...suitable rply i suppose > thanx...:):) > > REGARDS, > PAYAL GUPTA > > On Thu, Aug 18, 2011 at 4:36 PM, DheerajSharma > wrote: > > > > > > > > > it would take c days to take off all the hats > > > On Aug 18, 3:51 pm, "pg@manit"

[algogeeks] Re: MS BRAINTEASR

2011-08-18 Thread DheerajSharma
Case 1: when one person is wearing hat.The person wearing hat will see that no other is wearing hat.hence he must be wearing it.So she will take it off.hence one day Case 2: when two persons are wearing,first will think..that only second one is wearing..while second will think only first one is wea

Re: [algogeeks] Re: MS BRAINTEASR

2011-08-18 Thread payal gupta
hmm...suitable rply i suppose thanx...:):) REGARDS, PAYAL GUPTA On Thu, Aug 18, 2011 at 4:36 PM, DheerajSharma wrote: > it would take c days to take off all the hats > > On Aug 18, 3:51 pm, "pg@manit" wrote: > > A bunch of men are on an island. A genie comes down and gathers > > everyone t

[algogeeks] Re: MS BRAINTEASR

2011-08-18 Thread DheerajSharma
it would take c days to take off all the hats On Aug 18, 3:51 pm, "pg@manit" wrote: > A bunch of men are on an island. A genie comes down and gathers > everyone together and places a magical hat on some people’s heads > (i.e., at least one person has a hat). The hat is magical: it can be > seen b