SRM 708, D2, 250-Pointer (SafeBetting)

James S. Plank

Mon Feb 20 15:23:40 EST 2017
Try this on your own. If you get stuck, return here and read what I've written below.



























































The wrong way to solve this is to use math and calculate B. The right way is simply to simulate -- while b is less than c, calculate the maximum bet that you can make, and pretend that you win by adding it to b. Count the number of times that you do this. No math needed except addition and subtraction!