Are you sure binary search will work?

I am very interested in the way you use it. Please give details/code.

Parker

On Mon, Apr 13, 2015 at 7:37 PM Nate Bauernfeind <[email protected]>
wrote:

> My approach doesn't put the pancakes on a new plate, but rather increased
> the number of people eating off that plate. Then you never need to
> calculate how many pancakes to put where. Division and modulo was all I
> then needed to figure out how many minutes were needed to eat the pancakes
> originating from that plate.
>
> I implemented a binary search, answering, can we eat all pancakes in n
> minutes? Whenever a plate was too large, I'd add an eater and use a minute.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google Code Jam" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/google-code/e9c8e14a-732f-4b90-8005-95fbbfa50c16%40googlegroups.com
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Code Jam" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-code/CAGDEU-KMmFivebe9oMPy7nTTH91tM-d%3DP6YEk4NYW2%3DDUQkBVg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to