This problem is designed to test your luck, and therefore the contents of your function are irrelevant. In order to do so, the test suit will run your function (it is your function and therefore it has your luck) and check the time. If the last two digits of the time in milliseconds are lesser than 20 (0-19), your function will be considered to have succeeded, otherwise it will be considered to have failed. This procees is repeated 200 times, and if your function succeeds all tests, you will have solved the problem, thus proving you are incredibly lucky!
Note: If you noticed, the probability of solving the problem (assuming the time is completely random) is 5^-200, in honor of the 5th anniversay of Cody.
Solution Stats
Problem Comments
Solution Comments
Show commentsProblem Recent Solvers10
Suggested Problems
-
4495 Solvers
-
Find the peak 3n+1 sequence value
2565 Solvers
-
2553 Solvers
-
901 Solvers
-
Find the largest value in the 3D matrix
1663 Solvers
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
Your testsuite is broken.
I am sorry. It's already fixed.