Problem 1959. German tank problem
Solution Stats
Problem Comments
-
1 Comment
I'll believe it when I see it.
St Thomas.
Solution Comments
-
2 Comments
After pulling my hair out, I have a couple of suggestions. The problem is to find the 'best estimate,' which I and many others attempting this problem took to be the mean expected value, the solution sought after historically. It's actually asking for the most likely single value. I suggest editing the problem description to make that clear.
I now see that the most likely value will always be m. In the process, I discovered that some of the test cases violate the assumptions of the problem, cases where the maximum value observed is less than the number of samples. I would correct this for the sake of those who don't immediately realize that the most likely single value will always be the maximum value observed.
The lack of clarity and problems with the test cases caused me to waste a good deal of time.
Thanks for the suggestions. I really did not want the problem to expel-out the solution that it is "asking for", but let players figure that out from the description given in "To pass this problem you must be exactly correct in at least 10% of the testsuite cases". I understand this can feel misleading, but the point was to make this problem more like a "escape room" puzzle than an straight up homework problem. And regarding the "incorrect" test cases, the tests are probabilistic, so of course in some of them your "optimal" solution will not get the number of samples right, but that is perfectly fine, 10% success rate is all that is expected/required to pass this problem
-
1 Comment
I only reach 8.5% :-(
-
1 Comment
Well done, sir (and on your first try! You are clearly paying attention to the details :)
Problem Recent Solvers24
Suggested Problems
-
1281 Solvers
-
Remove the small words from a list of words.
1155 Solvers
-
1102 Solvers
-
756 Solvers
-
5374 Solvers
More from this Author38
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!