There are 30 possibilities, but they are not all equally likely, because of
the result that after 4 diamonds are stacked on one side, the next one is
forced to the other side.


On Sun, May 5, 2013 at 3:48 AM, Betlista <[email protected]> wrote:

> But that would say there are 32 possibilities, but as drawn, there are
> only 30.
>
> From first case for N=10, you go to the first case in N=11 in all cases,
> because the diamond have to slide to the right...
>
> Dňa nedeľa, 5. mája 2013 5:33:09 UTC+2 /dev/joe napísal(-a):
> > In your cases with 10 diamonds, you have probabilities of 1/16, 4/16,
> 6/16, 4/16, and 1/16 of being in the respective cases. To get to the first
> case with 11 diamonds, if you are in the 1/16 case, you will always go
> there, and in the  4/16 case, you will go there half the time, so the
> correct probability for this case is 1/16 + (4/16)/2 = 6/32.
> >
> >
> >
> >
> >
> >
> > On Sat, May 4, 2013 at 9:20 PM, Betlista <[email protected]> wrote:
> >
> > Hello programmers,
> >
> >
> >
> > I have question to correct answer for test case
> >
> >
> >
> > 11 1 3
> >
> >
> >
> > for round 1B, problem B (
> https://code.google.com/codejam/contest/2434486/dashboard#s=p1).
> >
> >
> >
> > It seems that accepted answer is 6/32 = 0.1875 but according to my
> understanding the correct answer is 5/30 = 0.166666667.
> >
> >
> >
> > I draw all possibilities - http://i.imgur.com/DF6QL2u.png
> >
> >
> >
> > Please can someone corrct me and show me where I'm wrong?
> >
> >
> >
> > Thanks
> >
> > Betlista
> >
> >
> >
> > --
> >
> > 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/msg/google-code/-/iH3WsVU9D9kJ.
> >
> > For more options, visit https://groups.google.com/groups/opt_out.
>
> --
> 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/msg/google-code/-/H_wTx4JpK84J.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>

-- 
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].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to