Problem 44390. Test your luck!
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
-
2 Comments
Your testsuite is broken.
I am sorry. It's already fixed.
Solution Comments
Show commentsProblem Recent Solvers10
Suggested Problems
-
Return a list sorted by number of occurrences
2819 Solvers
-
Project Euler: Problem 7, Nth prime
1567 Solvers
-
1316 Solvers
-
Remove white space from the string
196 Solvers
-
615 Solvers
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!