Problem 43676. Count the Digits in the Box
Solution Stats
Problem Comments
-
4 Comments
Show
1 older comment
James
on 14 Dec 2016
Looks like a neat problem, but I have a question on your example solution with no extra numbers: If I'm reading it correctly, there are supposed to be two 4s in the box. Where is the second 4?
Ned Gulley
on 14 Dec 2016
Good catch James! Thanks. That was a data entry problem. Should be fixed now.
Peng Liu
on 15 Dec 2016
Nice problem! But I might have some misunderstanding on your problem. My own solution didn't converge on test case 6. Is convergence guaranteed? Could you provide an example solution for test case 6?
Ned Gulley
on 20 Dec 2016
Hi Peng, and thanks for the note. I see your solutions now do quite well with all test cases! :-)
Problem Recent Solvers6
Suggested Problems
-
3462 Solvers
-
114 Solvers
-
903 Solvers
-
688 Solvers
-
486 Solvers
More from this Author50
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!