package leetcode;

/**
 * https://leetcode.com/problems/new-21-game/
 */
public class Problem837 {
    public double new21Game(int N, int K, int W) {
        // TODO
        return 0;
    }

    public static void main(String[] args) {
        Problem837 prob = new Problem837();
        System.out.println(prob.new21Game(10, 1, 10)); // 1.00000
        System.out.println(prob.new21Game(6, 1, 10)); // 0.60000
        System.out.println(prob.new21Game(21, 17, 10)); // 0.73278
    }
}

@@ -471,16 +471,142 @@
 0.73278%0A
+        System.out.println(prob.new21Game(2, 2, 4)); // 0.3125%0A        System.out.println(prob.new21Game(10, 2, 10)); // 0.99%0A
     %7D%0A%7D%0A

Update problem 837