See test suite
See also: http://www.mathworks.com/matlabcentral/cody/problems/2449-back-to-the-future-ii
New hacking series...
you are apparently using some cool/sophisticated checks in secret_solver to avoid hacking attempts, but in my opinion it might be safer to just leave the checking of whether the solution is correct or not to your .p function itself, instead of having your .p function return the correct value (e.g. something like testsuite in http://www.mathworks.com/matlabcentral/cody/problems/1969-self-description)
The code is actually doing what it says it is doing, nothing fancy in there. But you are right, for the next one I will take the approach in [Alfnie1969]. Thanks!
Next one is out! http://www.mathworks.com/matlabcentral/cody/problems/2449-back-to-the-future-ii
Word Counting and Indexing
Omit columns averages from a matrix
chance in percent for minimum K heads when a good coin is tossed N times?
Back to basics 13 - Input variables
Return unique values without sorting
Clear functions with the same name in different packages independently
Now! (Anticheating version 1)
Back to the future II
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list:
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Contact your local office