New 21 Game
Input:
N = 10, K = 1, W = 10
Output:
1.00000
Explanation:
Alice gets a single card, then stops.Input:
N = 6, K = 1, W = 10
Output:
0.60000
Explanation:
Alice gets a single card, then stops.
In 6 out of W = 10 possibilities, she is at or below N = 6 points.Last updated