@Dave: The problem statement says, the elephant can take 1000 at a time.
If he take max 1000, and eat 1 banana in each 1 km travel, he will be having
0 after 1000 Km.

Anuj Agarwal

Engineering is the art of making what you want from things you can get.


On Sat, May 21, 2011 at 9:57 AM, Dave <dave_and_da...@juno.com> wrote:

> @Wladimir: According to the problem statement, the elephant starts out
> with 3,000 bananas. I am saying that the elephant can deliver 534
> bananas to the destination 1,000 km away.
>
> Dave
>
> On May 20, 7:22 pm, Wladimir Tavares <wladimir...@gmail.com> wrote:
> > with 534 , the elephant can travel only 534 Km! I am right?
> > Wladimir Araujo Tavares
> > *Federal University of CearĂ¡
> >
> > *
> >
> >
> >
> > On Fri, May 20, 2011 at 8:36 PM, Dave <dave_and_da...@juno.com> wrote:
> > > Upon reading the problem more carefully, the answer is 534 bananas,
> > > not 533-1/3.
> >
> > > Dave
> >
> > > On May 20, 3:43 pm, Dave <dave_and_da...@juno.com> wrote:
> > > > @Bhavesh: 533-1/3.
> >
> > > > Dave
> >
> > > > On May 20, 10:47 am, Bhavesh agrawal <agr.bhav...@gmail.com> wrote:
> >
> > > > > 1 elephant can take 1000 banana at a time and eat 1 banana after
> each
> > > 1km
> > > > > travel.
> > > > > total bananas are 3000 and distance have to travel from A to B is
> > > 1000km.
> >
> > > > > So how many max bananas he can take from A to B.   (he'll eat in
> return
> > > > > travel  too)- Hide quoted text -
> >
> > > > - Show quoted text -
> >
> > > --
> > > 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, send email to
> > > algogeeks+unsubscr...@googlegroups.com.
> > > For more options, visit this group at
> > >http://groups.google.com/group/algogeeks?hl=en.- Hide quoted text -
> >
> > - Show quoted text -
>
> --
> 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, send email to
> algogeeks+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/algogeeks?hl=en.
>
>

-- 
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, send email to 
algogeeks+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/algogeeks?hl=en.

Reply via email to