This problem is related to Problem 596. More luck than brains where the test suite checks 3 times if the outcome of the solution is a random number between 1 and 6.
Using brain, the "solver" would be interested in computing the probability of passing a general test (with some other interesting probabilities) where the suite checks C times if the outcome of the solution is a random number between 1 and N.
So, here is the problem:
Output these values, given inputs N,C,K:
You will see that, for N=6 and C=3, then M=216.
It dseon't mettar waht oedrr the lrettes in a wrod are.
518 Solvers
Given an unsigned integer x, find the largest y by rearranging the bits in x
549 Solvers
Construct an index vector from two input vectors in vectorized fashion
130 Solvers
Deleting an element in a matrix
247 Solvers
490 Solvers
Problem Tags