Problem 44503. Anyone for tennis? Your chances of winning a tie-break game
Solution Stats
Problem Comments
Solution Comments
-
2 Comments
Not the cleanest code (I would have used dtmc if the corresponding toolbox was available, and I should definitively improve the code quality itself and vectorize it a little bit)
The problem was fun, thanks :-)
I'm glad you enjoyed the problem. You're welcome :-)
I enjoyed looking at your solution too: it had two things I appreciate, namely a creative solution, and ample explanatory comments in the code :-)
-
1 Comment
Kudos for a consistent and elegant approach. Stole the handling of scores > 7 for my second submission.
-
1 Comment
Oleksandr Denysenko, you get no credit for hacking the problem. Only legitimate solutions gain credit.
-
1 Comment
Persistence pays off! :-)
Problem Recent Solvers4
Suggested Problems
-
Project Euler: Problem 16, Sums of Digits of Powers of Two
109 Solvers
-
What is the distance from point P(x,y) to the line Ax + By + C = 0?
318 Solvers
-
Make a run-length companion vector
594 Solvers
-
14 Solvers
-
76 Solvers
More from this Author32
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!