@Anders: First cache should be 2,000 bananas at 200 km. Then you can
get 534 bananas to the destination as I explained in
http://groups.google.com/group/algogeeks/msg/6ff5e9ca52f4b5d6.

Dave

On May 21, 10:58 am, Anders Ma <xuejiao...@gmail.com> wrote:
> 1) go to 1000/3 with 1000 babanas, reserves 1000/3 at 1000/3 position
> 2) same as 1)
>
> now there are 2000/3 bananas at 1000/3 position.
>
> 3) go to 1000/3 position with 1000 babanas, then there are (2000/3 +
> 1000 - 1000/3) = 4000/3 babanas
> 4) go to (1000/3 + (4000/3 -1000)/3) = 4000/9 position with 1000 bananas
> 4) go ahead and finally have (1000 -  (1000 - 4000/9)) = 4000/9 = 444.444444

-- 
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