Problem 44288. Throwing Dice - Will You Be Eaten By The Dragon?
Solution Stats
Problem Comments
-
2 Comments
David Verrelli
on 25 May 2018
Hello, Erin. It's a really interesting problem. According to Solution 1539769, I think it would be worthwhile for you to include some (small) tolerances within the assert statements in your Test Suite, to allow for rounding due to computations in 'double precision'. —DIV
Rafael S.T. Vieira
on 27 Jul 2020
I agree with David.
Solution Comments
-
1 Comment
ChrisR
on 23 Jan 2022
I used my brute-force solution (7421995) to generate enough data to deduce the pattern. Some day I might be able to derive the formula from scratch...
Problem Recent Solvers66
Suggested Problems
-
257 Solvers
-
How many trades represent all the profit?
574 Solvers
-
Get the elements of diagonal and antidiagonal for any m-by-n matrix
435 Solvers
-
10225 Solvers
-
471 Solvers
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!