Try a single stack of 9 pancakes. 

Edward

> On 12 Apr 2015, at 09:10, utkarsh gupta <[email protected]> wrote:
> 
> For small B, what I did was to first divide all the maximum sized pancakes to 
> half giving the extra half to empty plates.Now it will be take special 
> minutes equal to the frequency of maximum sized sized pancake.Check if the 
> new maximum sized pancake + the special minutes added is less than your 
> initial ans, update answer if it less. Now again divide the maximum into two 
> add the special minutes required and check if the new maximum  + special 
> minutes is less the your previous ans . Keep doing it until you have divided 
> each pancake such that every pancake is either <= 3 ,because for pancake = 
> 1,2,3 answer will be same.
> Any help is appreciated. 
> 
> -- 
> 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/327a0d00-dc6c-4062-900c-d84da294ee6b%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/837E4793-FD3E-4ED3-BDC8-00A2AACBAA6D%40gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to