Day 2: Basic Probability Puzzles #1
Submissions will no longer be placed on the leaderboard. You may still attempt this problem for practice.
Objective
In this challenge, we practice calculating probability.
Task
In a single toss of fair (evenly-weighted) -sided dice, find the probability of that their sum will be at most .
Output Format
In the editor below, submit your answer as Plain Text in the form of an irreducible fraction , where and are both integers.
Your answer should resemble something like:
3/4
(This is NOT the answer, just a demonstration of the answer format.)
xxxxxxxxxx
11
1
2
3
4
5
6
int main() {
7
8
/* Enter your code here. Read input from STDIN. Print output to STDOUT */
9
return 0;
10
}
11