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
-
Make the vector [1 2 3 4 5 6 7 8 9 10]
43937 Solvers
-
Increment a number, given its digits
614 Solvers
-
Rotate and display numbered tile
294 Solvers
-
Multiples of a Number in a Given Range
496 Solvers
-
Determine the number of odd integers in a vector
600 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!