At Least One Success

Computer Mathematics Hard 2 views
Back to Questions

Problem Description

Given n independent trials with success probability p (as a/b), find prob of at least one success.

Input Format

n a b (p=a/b).

Output Format

Reduced fraction.

Sample Test Case

Input:
3 1 2
Output:
7/8

Constraints

1

Solutions (0)

No solutions submitted yet. Be the first!

Discussion (0)

No comments yet. Start the discussion!

Prev Next