Probability Of Head Count
Computer Mathematics
Hard
2 views
Problem Description
Given n tosses, probability of exactly k heads as reduced fraction.
Input Format
Two integers n k.
Output Format
p/q reduced.
Official Solution
Probability = C(n,k)/2^n. Reduce by gcd.
Solutions (0)
No solutions submitted yet. Be the first!
No comments yet. Start the discussion!