Rolling dice game X15253


Statement
 

pdf   zip

html
Public test cases
  • Input

    2 6 8
    

    Output

    The probability of getting a 8 with 2 dice of 6 faces is 0.139
    
  • Input

    1 12 11
    
    

    Output

    The probability of getting a 11 with 1 dice of 12 faces is 0.083
    
  • Input

    2 6 13
    

    Output

    The probability of getting a 13 with 2 dice of 6 faces is 0.000
    
  • Information
    Author
    HP Codewars BCN
    Language
    English
    Official solutions
    Python
    User solutions
    C++ Java Python