Hi
I got the notification about this community puzzle (https://www.codingame.com/training/medium/dice-probability-calculator) and got interested. It’s a nice idea, and the “puzzle” part is mainly the solution implementation strategy (some interesting options exist).
However, I got stuck on validation case 5.
The probability of several of the results is 3.125% (1 out of 32 cases), and the requirement call for rounding the result to 2 places after the decimal point. So my program output was 3.13, which is indeed the correct rounding.
But the validator expects 3.12 ???
I hardcoded this case into my code, just to view other solutions, and it seems to me that other solutions also output 3.13…
Would appreciate any insight into this