|
|
|
|
|
by GistNoesis
479 days ago
|
|
I've edited my code to make the payoff structure dependent on the result of the events, (and therefore it can be dependent on the number of winners for the bet. It runs slower for now 1900s for 14 matches, of 3 different solutions. But the structure is just 4 for loops, and the code is quite neat, and I think I kind of see how to apply dynamic programming tricks for memory-speed tradeoff. Trying to use Pascal's Formula, should probably result in some version of your algorithm. I'll think about it. |
|