Mar-13-2019, 03:24 PM
Sorry if this is not the appropriate place to post this.
The next Olympics will feature the sport of climbing for the first time, with a novel scoring system that takes into account your placement out of 20 in 3 disciplines and ranks you by multiplying your 3 placements (lowest score wins). So the best possible score is 1*1*1 = 1 and the worst possible score is 20*20*20 = 8000.
I am wanting a list of all possible scores (which I believe is 20 choose 3 = 1140), and beside each score the three factors of the product.
I am not much of a coder but I figured this would be easy for someone who knows even a little Python and I would be interested in what the code looks like.
The next Olympics will feature the sport of climbing for the first time, with a novel scoring system that takes into account your placement out of 20 in 3 disciplines and ranks you by multiplying your 3 placements (lowest score wins). So the best possible score is 1*1*1 = 1 and the worst possible score is 20*20*20 = 8000.
I am wanting a list of all possible scores (which I believe is 20 choose 3 = 1140), and beside each score the three factors of the product.
I am not much of a coder but I figured this would be easy for someone who knows even a little Python and I would be interested in what the code looks like.