Complete the 0,11 level for 1 star, then the 0,1 0,2 0,4 0,5 and 0,6 levels
for 2 stars directly. Then go back and solve 0,11 for two stars.
On Jun 29, 2012 8:08 AM, "Zubair" <[email protected]> wrote:

> In this problem for input case
>
> 6
> 0 5
> 0 1
> 0 11
> 0 4
> 0 2
> 0 6
>
>
> How could be the answer 7 instead of 8?
>
>
> On Tuesday, 1 May 2012 03:40:17 UTC+5, Makandriaco wrote:
>>
>> After a little analisys you would see this one is fairly easy.
>>
>> first, you want to get 2 stars in any level as soon as possible so
>> depending on the number of stars you have, search for a level you can
>> complete in level 2. If there are many the only thing that would make
>> a difference is if you already have 1 star for that level, so choose
>> the one with no stars yet. Any other combination is not important as
>> you can solve those levels from then on since you can't lose stars.
>> When there are no 2 star levels available, just choose the one from
>> one star that has the highest 2  star requirement, that way you may
>> solve the lower requirements sooner. If there are none... Too Bad
>>
>> On Apr 27, 10:24 pm, tutufan <[email protected]> wrote:
>> > Did you read the analysis here?
>> >
>> >    
>> > http://code.google.com/**codejam/contest/1645485/**dashboard#s=a&a=1<http://code.google.com/codejam/contest/1645485/dashboard#s=a&a=1>
>> >
>> > That should give you a good start (and make it clear where I went
>> > wrong--argh).
>> >
>> >
>> >
>> > On Friday, April 27, 2012 11:14:29 PM UTC-5, Satyajit Bhadange wrote:
>> >
>> > > Can anyone explain the solution to this problem.
>> > > i have difficulty understanding the code of others.
>> >
>> > > Thanks & Regards,
>> > > *Satyajit Bhadange
>> > > Software Programmer*
>> >
>> > > *Problems & Solutions* 
>> > > <http://www.satyajit-**algorithms.com<http://www.satyajit-algorithms.com>
>> >
>
>  --
> You received this message because you are subscribed to the Google Groups
> "Google Code Jam" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/google-code/-/dtuehORhrRMJ.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> For more options, visit this group at
> http://groups.google.com/group/google-code?hl=en.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Code Jam" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-code?hl=en.

Reply via email to