Two Dice Sum Equals S
Computer Mathematics
Medium
2 views
Problem Description
Probability that sum of two fair dice equals S.
Input Format
One integer S.
Output Format
Reduced fraction.
Official Solution
Count favorable pairs (i,j) with i+j=S. Probability = count/36, reduce.
Solutions (0)
No solutions submitted yet. Be the first!
No comments yet. Start the discussion!