Re: [algogeeks] Re: what will happen in the village

2010-05-13 Thread varun bhatia
can some1 post the solution here..the link by dufus is not working and i'm not able to find any other relevant link to this problem. On Sat, Sep 19, 2009 at 1:44 PM, ankur aggarwal wrote: > thanxs dufus. > got the soln > > On Fri, Sep 18, 2009 at 8:20 PM, Dufus wrote: > >> >> >> Hey

[algogeeks] Re: what will happen in the village

2009-09-19 Thread ankur aggarwal
thanxs dufus. got the soln On Fri, Sep 18, 2009 at 8:20 PM, Dufus wrote: > > > Hey ankur sorry for the delay in response. > For n demons and 1 sleeping man (initially) the answer goes like > this :- > > if n is odd (which is actually the case in given question coz n=65) > then the man WOULD BE e

[algogeeks] Re: what will happen in the village

2009-09-19 Thread Dufus
Hey ankur sorry for the delay in response. For n demons and 1 sleeping man (initially) the answer goes like this :- if n is odd (which is actually the case in given question coz n=65) then the man WOULD BE eaten. if n is even then man WONT BE eaten. For a more elaborate explanation kindly refer

[algogeeks] Re: what will happen in the village

2009-09-17 Thread cute_guy
At the end only one demon will be alive ... On Sep 14, 2:16 pm, ankur aggarwal wrote: > @dufus > plz clearify > i know u have something in mind.. > > thanxs > > On Sun, Sep 13, 2009 at 11:26 PM, Dufus wrote: > > > Old wine in new bottle. > > Try induction. > > > _dufus > > > On Sep 13, 10:23 pm

[algogeeks] Re: what will happen in the village

2009-09-14 Thread ankur aggarwal
@dufus plz clearify i know u have something in mind.. thanxs On Sun, Sep 13, 2009 at 11:26 PM, Dufus wrote: > > Old wine in new bottle. > Try induction. > > _dufus > > On Sep 13, 10:23 pm, Dave wrote: > > Except that the craftiest demon only pretends to take a bite. When the > > others fall as

[algogeeks] Re: what will happen in the village

2009-09-13 Thread sirpi
On Sep 13, 12:47 pm, SP Praveen wrote: >  given a village with demons and a sleeping man, The man is always > sleeping ,never wakes up. Now a demon can eat the sleeping man , but > after that he will fall asleep , any demon can eat another sleeping > demon. > >    If demons are very smart and w

[algogeeks] Re: what will happen in the village

2009-09-13 Thread Dufus
Old wine in new bottle. Try induction. _dufus On Sep 13, 10:23 pm, Dave wrote: > Except that the craftiest demon only pretends to take a bite. When the > others fall asleep, he chows down. > > Dave > > On Sep 13, 7:24 am, jaspreet singh > wrote: > > > the demons share the sleeping man amongst

[algogeeks] Re: what will happen in the village

2009-09-13 Thread ayush chauhan
1 out of the 65 daemons eats the sleeping man. After that no one will eat that sleeping man (initially daemon). On Sun, Sep 13, 2009 at 10:53 PM, Dave wrote: > > Except that the craftiest demon only pretends to take a bite. When the > others fall asleep, he chows down. > > Dave > > On Sep 13, 7:

[algogeeks] Re: what will happen in the village

2009-09-13 Thread karthikm897
I think there will be atleast 1 sleeping creature at last that can either be a man or a demon... I've heard a little modified version of this question that is that is if there are n tiger and 1 sheep in an island, if any tiger eats the sheep then that itself would turn into another sheep and no t

[algogeeks] Re: what will happen in the village

2009-09-13 Thread Dave
Except that the craftiest demon only pretends to take a bite. When the others fall asleep, he chows down. Dave On Sep 13, 7:24 am, jaspreet singh wrote: > the demons share the sleeping man amongst themselves.and hence all > fall asleep and cant eat each other either... > > On Sun, Sep 1

[algogeeks] Re: what will happen in the village

2009-09-13 Thread jaspreet singh
the demons share the sleeping man amongst themselves.and hence all fall asleep and cant eat each other either... On Sun, Sep 13, 2009 at 5:42 PM, ankur aggarwal wrote: > nothing happens... > > On Sun, Sep 13, 2009 at 5:32 PM, Vikram Sridar > wrote: > >> The man lives forever... sleeps fo

[algogeeks] Re: what will happen in the village

2009-09-13 Thread ankur aggarwal
nothing happens... On Sun, Sep 13, 2009 at 5:32 PM, Vikram Sridar wrote: > The man lives forever... sleeps forever actually > > > > --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Algorithm Geeks" group. To post to

[algogeeks] Re: what will happen in the village

2009-09-13 Thread Vikram Sridar
The man lives forever... sleeps forever actually --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Algorithm Geeks" group. To post to this group, send email to algogeeks@googlegroups.com To unsubscribe from this group,

[algogeeks] Re: what will happen in the village

2009-09-13 Thread SP Praveen
yes sharad. I dont see any progress that can happen. It should be a deadlock On Sep 13, 4:24 pm, sharad kumar wrote: > i think ther mite be a deadlock > > On Sun, Sep 13, 2009 at 4:17 PM, SP Praveen wrote: > > > > > > >  given a village with demons and a sleeping man, The man is always > > s

[algogeeks] Re: what will happen in the village

2009-09-13 Thread sharad kumar
i think ther mite be a deadlock On Sun, Sep 13, 2009 at 4:17 PM, SP Praveen wrote: > > given a village with demons and a sleeping man, The man is always > sleeping ,never wakes up. Now a demon can eat the sleeping man , but > after that he will fall asleep , any demon can eat another sleepin