Two Dice Sum Equals S

Computer Mathematics Medium 2 views
Back to Questions

Problem Description

Probability that sum of two fair dice equals S.

Input Format

One integer S.

Output Format

Reduced fraction.

Sample Test Case

Input:
7
Output:
1/6

Constraints

2

Solutions (0)

No solutions submitted yet. Be the first!

Discussion (0)

No comments yet. Start the discussion!

Prev Next