Probability Of Head Count

Computer Mathematics Hard 2 views
Back to Questions
Next Expected Value Of Dice Easy N

Problem Description

Given n tosses, probability of exactly k heads as reduced fraction.

Input Format

Two integers n k.

Output Format

p/q reduced.

Sample Test Case

Input:
3 2
Output:
3/8

Constraints

0

Solutions (0)

No solutions submitted yet. Be the first!

Discussion (0)

No comments yet. Start the discussion!

Next