There are N cards.
The probability that the first card is in the subset is 0.5.
The probability that the second card is in the subset is 0.5.
...
The probability that the Nth card is in the subset is 0.5.

So if there were 3 cards called A, B, and C, then there are 8 equally
likely subsets: ABC, AB, AC, BC, A, B, C, and the empty set.



On Sat, May 11, 2013 at 11:39 PM, Sujit Sali <[email protected]> wrote:

> Hi All,
>
> In problem (C. Good Luck), in the problem statement there is a sentence
> "(each card is taken with probability 0.5)", so can anybody please explain
> me, what dose this actually means?
>
> I am not getting this for understanding of the problem. Can you please
> explain me this with examples.
>
> Thanks,
> Sujit
>
> --
> 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.
>
>
>

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