Skip to content

dicecup

bradendubois edited this page Jun 9, 2021 · 6 revisions

Dice Cup

ID: dicecup

Difficulty: 1.3

CPU Time: 1 second

Memory: 1024 MB

Solution

Skipping over some understandings of probabilities, a good takeaway from this problem is looking at the sample input/outputs and seeing the pattern, to be able to really understand what the actual problem is. One can see in the examples given that the numbers range from the lower number + 1, to the higher number + 1.

Clone this wiki locally